diff options
author | avl <avl@FreeBSD.org> | 2012-01-29 18:56:06 +0800 |
---|---|---|
committer | avl <avl@FreeBSD.org> | 2012-01-29 18:56:06 +0800 |
commit | c7a56d9897b2ec3176361e9677ffe6debe120c75 (patch) | |
tree | 2b859b1f85a2536bfc16b3e25c72d7fe917a7b1e /dns/inadyn | |
parent | d2ccad4fa282f5916b8149082732dc089595974b (diff) | |
download | freebsd-ports-gnome-c7a56d9897b2ec3176361e9677ffe6debe120c75.tar.gz freebsd-ports-gnome-c7a56d9897b2ec3176361e9677ffe6debe120c75.tar.zst freebsd-ports-gnome-c7a56d9897b2ec3176361e9677ffe6debe120c75.zip |
- Fix broken binary caused by using INSTALL_SCRIPTÂ on some architectures
- Use INSTALL_MAN for the man files and respect NO_INSTALL_MANPAGESÂ knob
- Use INSTALL_DATA for PORTDOCS file
- Hide post-extract and post-patch procedure
- Bump PORTREVISION
PR: ports/163942 [1]
Submitted by: Garrett Cooper <yanegomi AT gmail.com> [1]
Approved by: maintainer via private mail
Diffstat (limited to 'dns/inadyn')
-rw-r--r-- | dns/inadyn/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/dns/inadyn/Makefile b/dns/inadyn/Makefile index c31cd2b6bcd7..b13c2314e0ad 100644 --- a/dns/inadyn/Makefile +++ b/dns/inadyn/Makefile @@ -7,7 +7,7 @@ PORTNAME= inadyn PORTVERSION= 1.96.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= http://www.inatech.eu/inadyn/ \ ${MASTER_SITE_LOCAL} @@ -24,31 +24,32 @@ USE_DOS2UNIX= yes USE_GMAKE= yes MAKEFILE= makefile +.if !defined(NO_INSTALL_MANPAGES) MAN8= inadyn.8 MAN5= inadyn.conf.5 -MANCOMPRESSED= no +.endif PORTDOCS= readme.html PLIST_FILES= bin/inadyn -NO_INSTALL_MANPAGES=yes - post-extract: - ${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} + @${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|gcc|$$\(CC\)|g' ${WRKSRC}/makefile - ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \ + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \ ${WRKSRC}/man/inadyn.8 ${WRKSRC}/readme.html \ ${WRKSRC}/src/dyndns.h do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + ${INSTALL_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5 .endif - ${INSTALL_SCRIPT} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8 - ${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5 .include <bsd.port.mk> |