Date: Fri, 7 Feb 2014 09:02:46 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343202 - head/x11-fonts/p5-type1inst Message-ID: <201402070902.s1792kRv021431@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Feb 7 09:02:45 2014 New Revision: 343202 URL: http://svnweb.freebsd.org/changeset/ports/343202 QAT: https://qat.redports.org/buildarchive/r343202/ Log: - Support staging - Use shebangfix - Convert to new options framework - Don't conditionalize installation of documentation as it is now handled by the new options framework Modified: head/x11-fonts/p5-type1inst/Makefile Modified: head/x11-fonts/p5-type1inst/Makefile ============================================================================== --- head/x11-fonts/p5-type1inst/Makefile Fri Feb 7 09:00:07 2014 (r343201) +++ head/x11-fonts/p5-type1inst/Makefile Fri Feb 7 09:02:45 2014 (r343202) @@ -12,28 +12,28 @@ PKGNAMEPREFIX= p5- MAINTAINER= hrs@FreeBSD.org COMMENT= A script that helps install Postscript fonts in X Window System -.if !defined(WITHOUT_X11) -RUN_DEPENDS= ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale -.endif - -USES= perl5 +USES= perl5 shebangfix NO_BUILD= yes PORTDOCS= README -PLIST_FILES= bin/t1embed bin/type1inst -MAN1= type1inst.1 +PLIST_FILES= bin/t1embed bin/type1inst man/man1/type1inst.1.gz +SHEBANG_FILES= type1inst t1embed + +OPTIONS_DEFINE= DOCS X11 +OPTIONS_DEFAULT=X11 -NO_STAGE= yes -pre-install: - ${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/type1inst +X11_RUN_DEPENDS= ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ + ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale + +.include <bsd.port.options.mk> do-install: - @cd ${WRKSRC} && ${INSTALL_SCRIPT} type1inst t1embed ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/type1inst.man ${PREFIX}/man/man1/type1inst.1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + cd ${WRKSRC} && ${INSTALL_SCRIPT} type1inst t1embed \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/type1inst.man \ + ${STAGEDIR}${PREFIX}/man/man1/type1inst.1 + + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402070902.s1792kRv021431>