Date: Tue, 18 Mar 2014 14:50:51 +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: r348561 - head/mail/rss2email Message-ID: <201403181450.s2IEopAT093225@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Tue Mar 18 14:50:50 2014 New Revision: 348561 URL: http://svnweb.freebsd.org/changeset/ports/348561 QAT: https://qat.redports.org/buildarchive/r348561/ Log: - Support staging - Define EXAMPLES option Modified: head/mail/rss2email/Makefile Modified: head/mail/rss2email/Makefile ============================================================================== --- head/mail/rss2email/Makefile Tue Mar 18 14:49:04 2014 (r348560) +++ head/mail/rss2email/Makefile Tue Mar 18 14:50:50 2014 (r348561) @@ -18,7 +18,8 @@ PLIST_FILES= bin/r2e %%DATADIR%%/${PORTN PLIST_DIRS= %%DATADIR%% PORTEXAMPLES= config.py.example -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\ ${WRKSRC}/r2e @@ -26,12 +27,10 @@ post-patch: ${WRKSRC}/rss2email.py do-install: - @${INSTALL} -d ${DATADIR}/ - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${DATADIR}/ - @${INSTALL_SCRIPT} ${WRKSRC}/r2e ${PREFIX}/bin/ -.ifndef NOPORTEXAMPLES - @${INSTALL} -d ${EXAMPLESDIR}/ - @${INSTALL_DATA} ${WRKSRC}/config.py.example ${EXAMPLESDIR}/ -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/r2e ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/config.py.example ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403181450.s2IEopAT093225>