Date: Fri, 28 Feb 2014 12:37:33 +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: r346498 - head/print/pcal Message-ID: <201402281237.s1SCbXn6075852@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Feb 28 12:37:32 2014 New Revision: 346498 URL: http://svnweb.freebsd.org/changeset/ports/346498 QAT: https://qat.redports.org/buildarchive/r346498/ Log: - Support staging - Use shebangfix - USES -> gmake - Define EXAMPLES option - Define DOCS option Modified: head/print/pcal/Makefile head/print/pcal/pkg-plist Modified: head/print/pcal/Makefile ============================================================================== --- head/print/pcal/Makefile Fri Feb 28 12:30:17 2014 (r346497) +++ head/print/pcal/Makefile Fri Feb 28 12:37:32 2014 (r346498) @@ -10,17 +10,17 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= PostScript calendar program +USES= shebangfix gmake + MAKE_ENV= HOST_CC="${CC}" ALL_TARGET= -USE_GMAKE= yes -MAN1= pcal.1 PORTDOCS= ReadMe.txt pcal.html pcalw.html +SHEBANG_FILES= html/pcal.pl WWWSERVER!= hostname -NO_STAGE= yes -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e \ @@ -33,17 +33,16 @@ post-patch: 's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcalw.html do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/exec/pcal ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${PREFIX}/libexec - ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${PREFIX}/libexec - ${INSTALL_MAN} ${WRKSRC}/doc/pcal.man ${MANPREFIX}/man/man1/pcal.1 - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/ReadMe.txt ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/html/pcal.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/html/pcalw.html ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/exec/pcal ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_MAN} ${WRKSRC}/doc/pcal.man \ + ${STAGEDIR}${MANPREFIX}/man/man1/pcal.1 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/ReadMe.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/html/pcal.html ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/html/pcalw.html ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/print/pcal/pkg-plist ============================================================================== --- head/print/pcal/pkg-plist Fri Feb 28 12:30:17 2014 (r346497) +++ head/print/pcal/pkg-plist Fri Feb 28 12:37:32 2014 (r346498) @@ -1,6 +1,7 @@ bin/pcal libexec/pcal.cgi libexec/pcal.pl +man/man1/pcal.1.gz %%EXAMPLESDIR%%/calendar_au.txt %%EXAMPLESDIR%%/calendar_de.txt %%EXAMPLESDIR%%/calendar_ee.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281237.s1SCbXn6075852>