freebsd-ports/dns/inadyn-mt/Makefile
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

56 lines
1.3 KiB
Makefile

# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$
PORTNAME= inadyn-mt
PORTVERSION= 02.28.10
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}.v.${PORTVERSION}/
DISTNAME= ${PORTNAME}.v.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple dynamic dns client
LICENSE= GPLv3
USES= autoreconf
USE_RC_SUBR= inadyn-mt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-sound
MAKE_ARGS+= INSTALL_PREFIX="${STAGEDIR}${PREFIX}/etc"
CFLAGS+= -fcommon
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01
PORTDOCS= readme.html AUTHORS README
PORTEXAMPLES= *
PLIST_FILES= bin/inadyn-mt etc/inadyn-mt/lang/en.lng \
man/man5/inadyn-mt.conf.5.gz \
man/man8/inadyn-mt.8.gz
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
${WRKSRC}/readme.html ${WRKSRC}/src/dyndns.h
pre-configure:
@${REINPLACE_CMD} -e "s,INSTALL_PREFIX=.*,,g" ${WRKSRC}/configure.ac
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/inadyn-mt.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>