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)
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# Created by: MITA Yoshio <mita@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= efax
|
|
DISTVERSION= 0.9a-001114a7
|
|
PORTREVISION= 9
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://shino.pos.to/linux/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fax send/receive program
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= xloadimage:x11/xloadimage
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/efax
|
|
PORTDOCS= README printcap.sample efax.html fax.html
|
|
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
SUB_FILES= pkg-message
|
|
|
|
CFLAGS+= -fcommon
|
|
|
|
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
|
|
EXPIRATION_DATE=2021-04-01
|
|
|
|
CONFLICTS= efax-gtk-*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,$$(PREFIX),${STAGEDIR}&,g' ${WRKSRC}/Makefile
|
|
|
|
post-build:
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/fax
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample ${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL_DATA} ${WRKSRC}/efax.rc.sample.ja ${STAGEDIR}${PREFIX}/etc/efax.rc.ja.sample
|
|
@${MKDIR} ${STAGEDIR}/var/spool/fax/incoming
|
|
${TOUCH} ${STAGEDIR}/var/spool/fax/incoming/.keepme
|
|
@${MKDIR} ${STAGEDIR}/var/spool/fax/outgoing
|
|
${TOUCH} ${STAGEDIR}/var/spool/fax/outgoing/lock
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|