1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/uif2iso/Makefile
Steven Kreuzer 9a0713e57c Change maintainer to scjamorim@bsd.com.br
Submitted by:	scjamorim@bsd.com.br (to ports@)
Approved by:	carpetsmoker@rwxrwxrwx.net (maintainer), wxs (mentor, implicit)
2009-07-16 15:43:12 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: sysutils/uif2iso
# Date created: 27 Jan 2008
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
# $FreeBSD$
#
PORTNAME= uif2iso
PORTVERSION= 0.1.7a
CATEGORIES= sysutils
MASTER_SITES= http://www.xs4all.nl/distfiles/ \
http://www.rwxrwxrwx.net/distfiles/
MAINTAINER= scjamorim@bsd.com.br
COMMENT= Convert MagicISO UIF files to ISO9660
PLIST_FILES= bin/uif2iso
PORTDOCS= uif2iso.txt
post-patch:
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.c
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/uif2iso.txt ${DOCSDIR}
.endif
# 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
.include <bsd.port.mk>