a1b290c54d
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)
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Rick Fournier <rick@help-desk.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hybserv
|
|
DISTVERSIONPREFIX= REL_
|
|
DISTVERSION= 1_9_5
|
|
PORTREVISION= 1
|
|
CATEGORIES= irc
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Hybrid2 IRC Services
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dkorunic
|
|
GH_PROJECT= ${PORTNAME}2
|
|
|
|
USES= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
CFLAGS+= -fcommon
|
|
|
|
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
|
|
EXPIRATION_DATE=2021-04-01
|
|
|
|
USERS= ${PORTNAME}
|
|
GROUPS= ${USERS}
|
|
|
|
OPTIONS_DEFINE= DAEMONTOOLS
|
|
|
|
DAEMONTOOLS_DESC= Daemontools support
|
|
DAEMONTOOLS_RUN_DEPENDS= supervise:sysutils/daemontools
|
|
DAEMONTOOLS_CONFIGURE_ENABLE= daemontools
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E -e '/(LN)/ s,BINDIR),DESTDIR)$$(&,2' \
|
|
-e '/(LN)/! s,(BIN|CONF|DOC|HELP|LOG)DIR),DESTDIR)$$(&,' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \
|
|
> ${WRKDIR}/hybserv.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${STAGEDIR}${PREFIX}/etc/rc.d
|
|
${CHMOD} 700 ${STAGEDIR}${PREFIX}/hybserv
|
|
(cd ${STAGEDIR}${PREFIX}/hybserv && ${STRIP_CMD} hybserv mkpasswd \
|
|
encryptconf encryptdb)
|
|
|
|
.include <bsd.port.mk>
|