aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 16:34:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 16:34:41 +0800
commit6127ce496d61f255e33c9ec9e79243d66d38abb0 (patch)
tree11a75f424ff16e9e8806f0c54831c2012f787830 /databases
parent6046ebf6fa90581169b838e414e78e48f3041beb (diff)
downloadfreebsd-ports-gnome-6127ce496d61f255e33c9ec9e79243d66d38abb0.tar.gz
freebsd-ports-gnome-6127ce496d61f255e33c9ec9e79243d66d38abb0.tar.zst
freebsd-ports-gnome-6127ce496d61f255e33c9ec9e79243d66d38abb0.zip
- Support staging
- Use shebangfix - Define DOCS option
Diffstat (limited to 'databases')
-rw-r--r--databases/mysqlidxchk/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/databases/mysqlidxchk/Makefile b/databases/mysqlidxchk/Makefile
index f9f91df72748..957ec21b3ecb 100644
--- a/databases/mysqlidxchk/Makefile
+++ b/databases/mysqlidxchk/Makefile
@@ -17,20 +17,18 @@ RUN_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
NO_WRKSUBDIR= yes
-USES= perl5
+USES= perl5 shebangfix
NO_BUILD= yes
PLIST_FILES= bin/mysqlidxchk
+SHEBANG_FILES= mysqlidxchk
PORTDOCS= mysqlidxchkdoc.html mysqlidxchkguide.html
-NO_STAGE= yes
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${PREFIX}/bin
+OPTIONS_DEFINE= DOCS
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>