Index: head/sysutils/uif2iso/Makefile =================================================================== --- head/sysutils/uif2iso/Makefile (revision 357551) +++ head/sysutils/uif2iso/Makefile (revision 357552) @@ -1,32 +1,39 @@ # Created by: Martin Tournoij # $FreeBSD$ 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 -PLIST_FILES= bin/uif2iso -PORTDOCS= README uif2iso.txt +OPTIONS_DEFINE= DOCS -NO_STAGE= yes +.include + post-patch: - @${REINPLACE_CMD} 's|exit(1)|exit(0)|' ${WRKSRC}/uif2iso.c - @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} 's|exit(1)|exit(0)|' \ + ${WRKSRC}/uif2iso.c + @${REINPLACE_CMD} 's|/usr/local|${STAGEDIR}${PREFIX}|; \ + s|$$(DESTDIR)||' \ + ${WRKSRC}/Makefile post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for docs in ${PORTDOCS} - ${INSTALL_DATA} ${WRKDIR}/${docs} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in README uif2iso.txt + ${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .endif .include Index: head/sysutils/uif2iso/pkg-plist =================================================================== --- head/sysutils/uif2iso/pkg-plist (nonexistent) +++ head/sysutils/uif2iso/pkg-plist (revision 357552) @@ -0,0 +1,4 @@ +bin/uif2iso +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/uif2iso.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/sysutils/uif2iso/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property