aboutsummaryrefslogtreecommitdiff
path: root/sysutils/daa2iso
diff options
context:
space:
mode:
authorBarbara Guida <bar@FreeBSD.org>2014-06-12 00:10:10 +0000
committerBarbara Guida <bar@FreeBSD.org>2014-06-12 00:10:10 +0000
commit7c8a6014c588ee806b80806f3ecf14527eb6a461 (patch)
tree18404087e3599ec51c1ff3a5f76120aa6d80f099 /sysutils/daa2iso
parentcdc7d1e0fcfef5e6e68707b2385396be72c0bbd4 (diff)
downloadports-7c8a6014c588ee806b80806f3ecf14527eb6a461.tar.gz
ports-7c8a6014c588ee806b80806f3ecf14527eb6a461.zip
- Support STAGEDIR
- Added LICENSE Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=357550
Diffstat (limited to 'sysutils/daa2iso')
-rw-r--r--sysutils/daa2iso/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/daa2iso/Makefile b/sysutils/daa2iso/Makefile
index a8d5192df60d..994272e46921 100644
--- a/sysutils/daa2iso/Makefile
+++ b/sysutils/daa2iso/Makefile
@@ -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@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