diff options
author | Alexander Logvinov <avl@FreeBSD.org> | 2012-01-29 10:56:06 +0000 |
---|---|---|
committer | Alexander Logvinov <avl@FreeBSD.org> | 2012-01-29 10:56:06 +0000 |
commit | 8c253efa5588a434da9317f1419eb3d35b6e8330 (patch) | |
tree | 00f468219c86ea2cfdb80577d2f16d180e88ae83 /dns | |
parent | - Update to 2.09 (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=290012
Diffstat (limited to 'dns')
-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> |