7c8a6014c5
- Added LICENSE Approved by: portmgr blanket
38 lines
757 B
Makefile
38 lines
757 B
Makefile
# Created by: Martin Tournoij <carpetsmoker@xs4all.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= daa2iso
|
|
PORTVERSION= 0.1.7e
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://aluigi.altervista.org/mytoolz/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Convert PowerISO DAA files to ISO9660
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= zip
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' \
|
|
${WRKSRC}/daa2iso.c
|
|
@${REINPLACE_CMD} 's|/usr/local|${STAGEDIR}${PREFIX}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in COPYING daa2iso.txt
|
|
${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|