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

(-)Makefile (-21 / +11 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	uif2iso
8
PORTNAME=	uif2iso
9
PORTVERSION=	0.1.7a
9
PORTVERSION=	0.1.7c
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 MagicISO UIF files to ISO9660
15
COMMENT=	Convert MagicISO UIF files to ISO9660
15
16
17
USE_ZIP=	yes
18
19
WRKSRC=		${WRKDIR}/src
20
16
PLIST_FILES=	bin/uif2iso
21
PLIST_FILES=	bin/uif2iso
17
PORTDOCS=	uif2iso.txt
22
PORTDOCS=	README uif2iso.txt
18
23
19
post-patch:
24
post-patch:
20
	@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.c
25
	@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.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}/uif2iso.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 (uif2iso-0.1.7a.tar.gz) = b9f81576a8ef6735721fdbff5f8bd2c2
1
MD5 (uif2iso.zip) = 2eb9797ec463c38253014d45591a7043
2
SHA256 (uif2iso-0.1.7a.tar.gz) = 7bbf092e959bf46179214f2cb6cabe37fc2f6e1df83afce6fe2e672039bf6a5e
2
SHA256 (uif2iso.zip) = b78dde3e8bc28559f73e2feb46d41c8f57b511ddbe25d63ada704ef8697528ec
3
SIZE (uif2iso-0.1.7a.tar.gz) = 243712
3
SIZE (uif2iso.zip) = 113727

Return to bug 138972