1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/sysutils/uif2iso/Makefile
2021-04-06 16:31:07 +02:00

35 lines
708 B
Makefile

# Created by: Martin Tournoij <carpetsmoker@xs4all.nl>
PORTNAME= uif2iso
PORTVERSION= 0.1.7c
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://aluigi.altervista.org/mytoolz/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert MagicISO UIF files to ISO9660
LICENSE= GPLv2
USES= zip
WRKSRC= ${WRKDIR}/src
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 's|exit(1)|exit(0)|' \
${WRKSRC}/uif2iso.c
@${REINPLACE_CMD} 's|/usr/local|${STAGEDIR}${PREFIX}|; \
s|$$(DESTDIR)||' \
${WRKSRC}/Makefile
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in README uif2iso.txt
${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>