- Update to 0.1.7c

PR:		138972
Submitted by:	Sylvio Cesar <scjamorim@bsd.com.br> (maintainer)
Feature safe:	yes
This commit is contained in:
Martin Wilke 2009-09-21 10:41:00 +00:00
parent 23008feac4
commit f7236404bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241855
2 changed files with 14 additions and 24 deletions

View file

@ -6,15 +6,20 @@
# #
PORTNAME= uif2iso PORTNAME= uif2iso
PORTVERSION= 0.1.7a PORTVERSION= 0.1.7c
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://www.xs4all.nl/distfiles/ MASTER_SITES= http://aluigi.altervista.org/mytoolz/
DISTNAME= ${PORTNAME}
MAINTAINER= scjamorim@bsd.com.br MAINTAINER= scjamorim@bsd.com.br
COMMENT= Convert MagicISO UIF files to ISO9660 COMMENT= Convert MagicISO UIF files to ISO9660
USE_ZIP= yes
WRKSRC= ${WRKDIR}/src
PLIST_FILES= bin/uif2iso PLIST_FILES= bin/uif2iso
PORTDOCS= uif2iso.txt PORTDOCS= README uif2iso.txt
post-patch: post-patch:
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.c @${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.c
@ -23,24 +28,9 @@ post-patch:
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/uif2iso.txt ${DOCSDIR} .for docs in ${PORTDOCS}
.endif ${INSTALL_DATA} ${WRKDIR}/${docs} ${DOCSDIR}
.endfor
# 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}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (uif2iso-0.1.7a.tar.gz) = b9f81576a8ef6735721fdbff5f8bd2c2 MD5 (uif2iso.zip) = 2eb9797ec463c38253014d45591a7043
SHA256 (uif2iso-0.1.7a.tar.gz) = 7bbf092e959bf46179214f2cb6cabe37fc2f6e1df83afce6fe2e672039bf6a5e SHA256 (uif2iso.zip) = b78dde3e8bc28559f73e2feb46d41c8f57b511ddbe25d63ada704ef8697528ec
SIZE (uif2iso-0.1.7a.tar.gz) = 243712 SIZE (uif2iso.zip) = 113727