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)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vms-empire
|
|
PORTVERSION= 1.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simulation of a full-scale war between two emperors
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= ncurses
|
|
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
|
|
PORTDOCS= AUTHORS BUGS HACKING NEWS README
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CFLAGS+= -fcommon
|
|
|
|
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
|
|
EXPIRATION_DATE=2021-04-01
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man6/${PORTNAME}.6.gz \
|
|
share/appdata/${PORTNAME}.xml \
|
|
${DESKTOPDIR}/${PORTNAME}.desktop \
|
|
share/icons/hicolor/48x48/apps/${PORTNAME}.png
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|; \
|
|
s|/usr/bin|${PREFIX}/bin|; \
|
|
s|/usr/share/|${PREFIX}/share/|; \
|
|
s|/usr/local/share/man|${PREFIX}/man|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|