svn commit: r393582 - head/sysutils/afio
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Aug 5 12:31:30 UTC 2015
Author: amdmi3
Date: Wed Aug 5 12:31:29 2015
New Revision: 393582
URL: https://svnweb.freebsd.org/changeset/ports/393582
Log:
- Fix shebangs in examples
- Fix examples installation
PR: 201990
Submitted by: amdmi3
Approved by: portmaster at bsdforge.com (maintainer)
Modified:
head/sysutils/afio/Makefile
Modified: head/sysutils/afio/Makefile
==============================================================================
--- head/sysutils/afio/Makefile Wed Aug 5 12:18:41 2015 (r393581)
+++ head/sysutils/afio/Makefile Wed Aug 5 12:31:29 2015 (r393582)
@@ -3,6 +3,7 @@
PORTNAME= afio
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SUNSITE/system/backup
@@ -12,7 +13,8 @@ COMMENT= Archiver and backup program wit
LICENSE= ART20 BSD2CLAUSE
LICENSE_COMB= multi
-USES= tar:tgz
+USES= tar:tgz shebangfix
+SHEBANG_FILES= script1/backup script2/backup
ALL_TARGET= ${PORTNAME}
@@ -28,9 +30,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example \
- ${WRKSRC}/script2/* ${WRKSRC}/script3/* \
- ${WRKSRC}/script4/* ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} script? ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list