Date: Tue, 10 Dec 2013 21:08:32 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336115 - head/devel/bcpp Message-ID: <201312102108.rBAL8WFP020811@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Dec 10 21:08:32 2013 New Revision: 336115 URL: http://svnweb.freebsd.org/changeset/ports/336115 Log: Support stage Modified: head/devel/bcpp/Makefile Modified: head/devel/bcpp/Makefile ============================================================================== --- head/devel/bcpp/Makefile Tue Dec 10 21:06:44 2013 (r336114) +++ head/devel/bcpp/Makefile Tue Dec 10 21:08:32 2013 (r336115) @@ -8,7 +8,7 @@ MASTER_SITES= ftp://invisible-island.net EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A utility similar to indent for C++ code +COMMENT= Utility similar to indent for C++ code OPTIONS_DEFINE= DOCS @@ -17,24 +17,16 @@ MAKEFILE= makefile CFLAGS+= -DBCPP_CONFIG_DIR=\\\"${PREFIX}/etc/${PORTNAME}\\\" -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/code/bcpp.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/code/${PORTNAME}.cfg \ - ${PREFIX}/etc/${PORTNAME}.cfg.sample -.if !exists(${PREFIX}/etc/${PORTNAME}.cfg) - cd ${PREFIX}/etc && ${CP} -p ${PORTNAME}.cfg.sample ${PORTNAME}.cfg -.endif -.if ${PORT_OPTIONS:MDOCS} - @@${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${DOCSDIR} -.endif + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312102108.rBAL8WFP020811>