Files
ports/editors/gate/Makefile
T
Niclas Zeising a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00

40 lines
984 B
Makefile

# Created by: James Howard
# $FreeBSD$
PORTNAME= gate
PORTVERSION= 2.06
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://www.unixpapa.com/software/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and unobtrusive line-oriented text editor
BUILD_DEPENDS= aspell:textproc/aspell
RUN_DEPENDS= aspell:textproc/aspell
USES= ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell
ALL_TARGET= gate gate.1
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
post-patch:
@${REINPLACE_CMD} -e \
's|$${res_datadir}|${DATADIR}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|^char \*malloc();||g' ${WRKSRC}/term.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gate ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gate.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gate.help ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>