svn commit: r348667 - head/databases/mysqlidxchk
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Mar 20 08:34:41 UTC 2014
Author: ehaupt
Date: Thu Mar 20 08:34:41 2014
New Revision: 348667
URL: http://svnweb.freebsd.org/changeset/ports/348667
QAT: https://qat.redports.org/buildarchive/r348667/
Log:
- Support staging
- Use shebangfix
- Define DOCS option
Modified:
head/databases/mysqlidxchk/Makefile
Modified: head/databases/mysqlidxchk/Makefile
==============================================================================
--- head/databases/mysqlidxchk/Makefile Thu Mar 20 08:31:44 2014 (r348666)
+++ head/databases/mysqlidxchk/Makefile Thu Mar 20 08:34:41 2014 (r348667)
@@ -17,20 +17,18 @@ RUN_DEPENDS= p5-Term-ReadKey>=0:${PORTSD
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>
More information about the svn-ports-head
mailing list