aboutsummaryrefslogtreecommitdiff
path: root/sysutils/daa2iso
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-21 10:42:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-21 10:42:13 +0000
commitb2ebe80d00c89d883bc89bb74e555680d35dada6 (patch)
tree16c981381252706eff224c3e72dd321c6cd0ccc5 /sysutils/daa2iso
parentf7236404bcb593bacdbb2fda86c7fd80fd1e3a2b (diff)
downloadports-b2ebe80d00c89d883bc89bb74e555680d35dada6.tar.gz
ports-b2ebe80d00c89d883bc89bb74e555680d35dada6.zip
Notes
Diffstat (limited to 'sysutils/daa2iso')
-rw-r--r--sysutils/daa2iso/Makefile32
-rw-r--r--sysutils/daa2iso/distinfo6
2 files changed, 14 insertions, 24 deletions
diff --git a/sysutils/daa2iso/Makefile b/sysutils/daa2iso/Makefile
index 9f4ff9df2dea..b7a598724c79 100644
--- a/sysutils/daa2iso/Makefile
+++ b/sysutils/daa2iso/Makefile
@@ -6,15 +6,20 @@
#
PORTNAME= daa2iso
-PORTVERSION= 0.1.7b
+PORTVERSION= 0.1.7e
CATEGORIES= sysutils
-MASTER_SITES= http://www.xs4all.nl/distfiles/
+MASTER_SITES= http://aluigi.altervista.org/mytoolz/
+DISTNAME= ${PORTNAME}
MAINTAINER= scjamorim@bsd.com.br
COMMENT= Convert PowerISO DAA files to ISO9660
+USE_ZIP= yes
+
+WRKSRC= ${WRKDIR}/src
+
PLIST_FILES= bin/daa2iso
-PORTDOCS= daa2iso.txt
+PORTDOCS= COPYING daa2iso.txt
post-patch:
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
@@ -23,24 +28,9 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/daa2iso.txt ${DOCSDIR}
-.endif
-
-# Original files from author contain no version number and are not in
-# a separate directory.
-.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}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKDIR}/${docs} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/sysutils/daa2iso/distinfo b/sysutils/daa2iso/distinfo
index b3925bdc5cbe..ecf3259cb27f 100644
--- a/sysutils/daa2iso/distinfo
+++ b/sysutils/daa2iso/distinfo
@@ -1,3 +1,3 @@
-MD5 (daa2iso-0.1.7b.tar.gz) = 61c5e20a9e1fb472ce77cfba4a8f6bfa
-SHA256 (daa2iso-0.1.7b.tar.gz) = 40698266db20250bdfad5e13d1974a3bef1f0b57e7d6545ba3eff623070bd1b6
-SIZE (daa2iso-0.1.7b.tar.gz) = 118784
+MD5 (daa2iso.zip) = 6930ebcd8568e8ade0a175352d4a3481
+SHA256 (daa2iso.zip) = f5990542bbfb632a18e664bb956d1dfa35b20945881c617af641a9ee8cfbc47b
+SIZE (daa2iso.zip) = 49862