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> |