View | Details | Raw Unified | Return to bug 138973
Collapse All | Expand All

(-)Makefile (-21 / +11 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	daa2iso
8
PORTNAME=	daa2iso
9
PORTVERSION=	0.1.7b
9
PORTVERSION=	0.1.7e
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://www.xs4all.nl/distfiles/
11
MASTER_SITES=	http://aluigi.altervista.org/mytoolz/
12
DISTNAME=	${PORTNAME}
12
13
13
MAINTAINER=	scjamorim@bsd.com.br
14
MAINTAINER=	scjamorim@bsd.com.br
14
COMMENT=	Convert PowerISO DAA files to ISO9660
15
COMMENT=	Convert PowerISO DAA files to ISO9660
15
16
17
USE_ZIP=	yes
18
19
WRKSRC=		${WRKDIR}/src
20
16
PLIST_FILES=	bin/daa2iso
21
PLIST_FILES=	bin/daa2iso
17
PORTDOCS=	daa2iso.txt
22
PORTDOCS=	COPYING daa2iso.txt
18
23
19
post-patch:
24
post-patch:
20
	@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
25
	@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/daa2iso.c
Lines 23-46 Link Here
23
post-install:
28
post-install:
24
.if !defined(NOPORTDOCS)
29
.if !defined(NOPORTDOCS)
25
	${MKDIR} ${DOCSDIR}
30
	${MKDIR} ${DOCSDIR}
26
	${INSTALL_DATA} ${WRKSRC}/daa2iso.txt ${DOCSDIR}
31
.for docs in ${PORTDOCS}
27
.endif
32
	${INSTALL_DATA} ${WRKDIR}/${docs} ${DOCSDIR}
28
33
.endfor
29
# Original files from author contain no version number and are not in
30
# a separate directory.
31
.if defined(MAINTAINER)
32
distfile:
33
	rm -fr /tmp/${PORTNAME}-${PORTVERSION}
34
	mkdir /tmp/${PORTNAME}-${PORTVERSION}
35
	cd /tmp/${PORTNAME}-${PORTVERSION} && \
36
	fetch http://aluigi.altervista.org/mytoolz/${PORTNAME}.zip && \
37
	tar xf ${PORTNAME}.zip && \
38
	mv src/* . && \
39
	rm -rf ${PORTNAME}.zip *.exe src && \
40
	chmod 664 *
41
	cd /tmp && \
42
	tar cf ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-${PORTVERSION}
43
	rm -fr /tmp/${PORTNAME}-${PORTVERSION}
44
.endif
34
.endif
45
35
46
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (daa2iso-0.1.7b.tar.gz) = 61c5e20a9e1fb472ce77cfba4a8f6bfa
1
MD5 (daa2iso.zip) = 6930ebcd8568e8ade0a175352d4a3481
2
SHA256 (daa2iso-0.1.7b.tar.gz) = 40698266db20250bdfad5e13d1974a3bef1f0b57e7d6545ba3eff623070bd1b6
2
SHA256 (daa2iso.zip) = f5990542bbfb632a18e664bb956d1dfa35b20945881c617af641a9ee8cfbc47b
3
SIZE (daa2iso-0.1.7b.tar.gz) = 118784
3
SIZE (daa2iso.zip) = 49862

Return to bug 138973