2008-02-16 12:50:36 +01:00
|
|
|
# New ports collection makefile for: sysutils/daa2iso
|
|
|
|
# Date created: 27 Jan 2008
|
|
|
|
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= daa2iso
|
2009-01-31 03:24:07 +01:00
|
|
|
PORTVERSION= 0.1.7b
|
2008-02-16 12:50:36 +01:00
|
|
|
CATEGORIES= sysutils
|
2009-08-02 04:51:50 +02:00
|
|
|
MASTER_SITES= http://www.xs4all.nl/distfiles/
|
2008-02-16 12:50:36 +01:00
|
|
|
|
2009-07-16 17:43:12 +02:00
|
|
|
MAINTAINER= scjamorim@bsd.com.br
|
2008-02-16 12:50:36 +01:00
|
|
|
COMMENT= Convert PowerISO DAA files to ISO9660
|
|
|
|
|
|
|
|
PLIST_FILES= bin/daa2iso
|
2008-03-31 09:28:28 +02:00
|
|
|
PORTDOCS= daa2iso.txt
|
2008-02-16 12:50:36 +01:00
|
|
|
|
2008-08-06 15:35:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
|
2009-01-31 03:24:07 +01:00
|
|
|
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
|
2008-08-06 15:35:57 +02:00
|
|
|
|
2009-01-31 03:24:07 +01:00
|
|
|
post-install:
|
2008-03-31 09:28:28 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/daa2iso.txt ${DOCSDIR}
|
|
|
|
.endif
|
2008-02-16 12:50:36 +01:00
|
|
|
|
2009-01-31 03:24:07 +01:00
|
|
|
# Original files from author contain no version number and are not in
|
|
|
|
# a separate directory.
|
2008-08-06 15:35:57 +02:00
|
|
|
.if defined(MAINTAINER)
|
|
|
|
distfile:
|
|
|
|
rm -fr /tmp/${PORTNAME}-${PORTVERSION}
|
|
|
|
mkdir /tmp/${PORTNAME}-${PORTVERSION}
|
|
|
|
cd /tmp/${PORTNAME}-${PORTVERSION} && \
|
|
|
|
fetch http://aluigi.altervista.org/mytoolz/${PORTNAME}.zip && \
|
|
|
|
tar xf ${PORTNAME}.zip && \
|
|
|
|
mv src/* . && \
|
|
|
|
rm -rf ${PORTNAME}.zip *.exe src && \
|
|
|
|
chmod 664 *
|
|
|
|
cd /tmp && \
|
|
|
|
tar cf ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-${PORTVERSION}
|
|
|
|
rm -fr /tmp/${PORTNAME}-${PORTVERSION}
|
|
|
|
.endif
|
|
|
|
|
2008-02-16 12:50:36 +01:00
|
|
|
.include <bsd.port.mk>
|