summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cvschangelogbuilder/Makefile16
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>