diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-12 10:00:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-12 10:00:46 +0000 |
commit | 9d496fd6f1199dde06786d2a4edf3677d04639a0 (patch) | |
tree | 1c181abb75c98ed139405d19cf7c666b937935c2 | |
parent | - Switch to USES=localbase (diff) |
- Always accompany OSVERSION check with OPSYS check
Notes
Notes:
svn path=/head/; revision=438346
-rw-r--r-- | devel/cvschangelogbuilder/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/cvschangelogbuilder/Makefile b/devel/cvschangelogbuilder/Makefile index 9e5a3ab5430b..c226e688cb4d 100644 --- a/devel/cvschangelogbuilder/Makefile +++ b/devel/cvschangelogbuilder/Makefile @@ -22,6 +22,14 @@ NO_ARCH= yes PLIST_FILES= bin/cvschangelogbuilder PORTDOCS= * +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077 +# chmod -R bug. +post-extract: + @${CHMOD} 755 ${WRKSRC}/docs/images +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @@ -31,12 +39,4 @@ do-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 1100077 -# chmod -R bug. -post-extract: - @${CHMOD} 755 ${WRKSRC}/docs/images -.endif - .include <bsd.port.post.mk> |