Date: Thu, 27 Feb 2014 13:56:34 +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: r346335 - head/databases/wfb2sql Message-ID: <201402271356.s1RDuY7P077543@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Feb 27 13:56:33 2014 New Revision: 346335 URL: http://svnweb.freebsd.org/changeset/ports/346335 QAT: https://qat.redports.org/buildarchive/r346335/ Log: - Support staging - Use shebangfix - Define EXAMPLES option - Define DOCS option Deleted: head/databases/wfb2sql/pkg-plist Modified: head/databases/wfb2sql/Makefile Modified: head/databases/wfb2sql/Makefile ============================================================================== --- head/databases/wfb2sql/Makefile Thu Feb 27 13:50:17 2014 (r346334) +++ head/databases/wfb2sql/Makefile Thu Feb 27 13:56:33 2014 (r346335) @@ -13,26 +13,21 @@ COMMENT= CIA World Fact Book to SQL Conv BUILD_DEPENDS= p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 -NO_BUILD= YES +USES= perl5 shebangfix +NO_BUILD= yes -NO_STAGE= yes -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/wfb2sql ${PREFIX}/bin/wfb2sql - @${ECHO} "bin/wfb2sql" >> ${TMPPLIST} +OPTION_DEFINE= DOCS EXAMPLES - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/wfb2sqlrc ${EXAMPLESDIR}/wfb2sqlrc - @${ECHO} "share/examples/${PORTNAME}/wfb2sqlrc" >> ${TMPPLIST} - @${ECHO} "@dirrm share/examples/${PORTNAME}" >> ${TMPPLIST} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/wfb2sql.html ${DOCSDIR} - @${ECHO} "share/doc/${PORTNAME}/wfb2sql.html" >> ${TMPPLIST} - @${ECHO} "@dirrm share/doc/${PORTNAME}/" >> ${TMPPLIST} -.endif +PLIST_FILES= bin/wfb2sql +PORTDOCS= wfb2sql.html +PORTEXAMPLES= wfb2sqlrc +SHEBANG_FILES= wfb2sql -post-install: - @${CAT} ${PKGMESSAGE} +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/wfb2sql ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/wfb2sqlrc ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/wfb2sql.html ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402271356.s1RDuY7P077543>