summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-06 13:35:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-06 13:35:57 +0000
commit76f821351b5a6f86f664a640a4e33ee915c26b1e (patch)
tree393c4672282539aeebb41ac1072d938e5f6c6a9d /sysutils
parent- Fix MSN protocol string (diff)
- Update to 0.1.5a
- Update maintainer mail adress PR: 126250 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer)
Notes
Notes: svn path=/head/; revision=218137
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/daa2iso/Makefile26
-rw-r--r--sysutils/daa2iso/distinfo6
2 files changed, 25 insertions, 7 deletions
diff --git a/sysutils/daa2iso/Makefile b/sysutils/daa2iso/Makefile
index dea6c5d49902..30bc70437e93 100644
--- a/sysutils/daa2iso/Makefile
+++ b/sysutils/daa2iso/Makefile
@@ -2,25 +2,28 @@
# Date created: 27 Jan 2008
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
-# $Carpetsmoker: ports/sysutils/daa2iso/Makefile,v 1.3 2008/03/27 14:43:02 carpetsmoker Exp $
# $FreeBSD$
#
PORTNAME= daa2iso
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.5a
CATEGORIES= sysutils
MASTER_SITES= http://www.carpetsmoker.net/distfiles/ \
http://www.xs4all.nl/distfiles/ \
http://www.rwxrwxrwx.net/distfiles/
-MAINTAINER= carpetsmoker@xs4all.nl
+MAINTAINER= carpetsmoker@rwxrwxrwx.net
COMMENT= Convert PowerISO DAA files to ISO9660
PLIST_FILES= bin/daa2iso
PORTDOCS= daa2iso.txt
+post-patch:
+ @${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
+
do-build:
- ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} -lz ${WRKSRC}/daa2iso.c
+ ${CC} ${CFLAGS} -c ${WRKSRC}/LzmaDec.c -o ${WRKSRC}/LzmaDec.o
+ ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} -lz ${WRKSRC}/daa2iso.c ${WRKSRC}/LzmaDec.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/daa2iso ${PREFIX}/bin/
@@ -29,4 +32,19 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/daa2iso.txt ${DOCSDIR}
.endif
+.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
+
.include <bsd.port.mk>
diff --git a/sysutils/daa2iso/distinfo b/sysutils/daa2iso/distinfo
index cac7d182bf39..bc56e2ddf389 100644
--- a/sysutils/daa2iso/distinfo
+++ b/sysutils/daa2iso/distinfo
@@ -1,3 +1,3 @@
-MD5 (daa2iso-0.1.4.tar.gz) = 1912654777a4053c320a29495028da59
-SHA256 (daa2iso-0.1.4.tar.gz) = 692a87075907b75e3ed5e23f6edaa9570c64197fa872827e404ce1f0b22f691d
-SIZE (daa2iso-0.1.4.tar.gz) = 7138
+MD5 (daa2iso-0.1.5a.tar.gz) = e987d0c0968e28155343922afe7b60ec
+SHA256 (daa2iso-0.1.5a.tar.gz) = b483ab99b1dc3a1dc55dd1a4c6a7ac67caf383b662a70c6e6ffbfa08d5429b78
+SIZE (daa2iso-0.1.5a.tar.gz) = 77312