svn commit: r357550 - head/sysutils/daa2iso
Barbara Guida
bar at FreeBSD.org
Thu Jun 12 00:10:11 UTC 2014
Author: bar
Date: Thu Jun 12 00:10:10 2014
New Revision: 357550
URL: http://svnweb.freebsd.org/changeset/ports/357550
QAT: https://qat.redports.org/buildarchive/r357550/
Log:
- Support STAGEDIR
- Added LICENSE
Approved by: portmgr blanket
Modified:
head/sysutils/daa2iso/Makefile
Modified: head/sysutils/daa2iso/Makefile
==============================================================================
--- head/sysutils/daa2iso/Makefile Thu Jun 12 00:09:51 2014 (r357549)
+++ head/sysutils/daa2iso/Makefile Thu Jun 12 00:10:10 2014 (r357550)
@@ -3,6 +3,7 @@
PORTNAME= daa2iso
PORTVERSION= 0.1.7e
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://aluigi.altervista.org/mytoolz/
DISTNAME= ${PORTNAME}
@@ -10,23 +11,27 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports at FreeBSD.org
COMMENT= Convert PowerISO DAA files to ISO9660
+LICENSE= GPLv2
+
USES= zip
WRKSRC= ${WRKDIR}/src
-PLIST_FILES= bin/daa2iso
-PORTDOCS= COPYING daa2iso.txt
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
- @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's|exit(1)|exit(0)|' \
+ ${WRKSRC}/daa2iso.c
+ @${REINPLACE_CMD} 's|/usr/local|${STAGEDIR}${PREFIX}|' \
+ ${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKDIR}/${docs} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in COPYING daa2iso.txt
+ ${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
More information about the svn-ports-all
mailing list