Date: Sat, 31 May 2014 20:17:59 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356017 - head/lang/cocor Message-ID: <201405312017.s4VKHxI3004343@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sat May 31 20:17:58 2014 New Revision: 356017 URL: http://svnweb.freebsd.org/changeset/ports/356017 QAT: https://qat.redports.org/buildarchive/r356017/ Log: Add staging support Modified: head/lang/cocor/Makefile head/lang/cocor/pkg-plist Modified: head/lang/cocor/Makefile ============================================================================== --- head/lang/cocor/Makefile Sat May 31 20:00:55 2014 (r356016) +++ head/lang/cocor/Makefile Sat May 31 20:17:58 2014 (r356017) @@ -21,14 +21,8 @@ MAKE_ENV= CRFRAMES="${WRKSRC}/frames" MAKEFILE= unix.mk ALL_TARGET= all1 -MAN1= ${PORTNAME}.1 - -NO_STAGE= yes - OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - post-patch: .for i in sources/unix.mk taste/unix.mk @${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/${i} @@ -38,23 +32,19 @@ post-patch: .endfor do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1 - @${MKDIR} ${PREFIX}/lib/${PORTNAME} -.for i in cplus2 taste taste_cp - @(cd ${WRKSRC}; ${COPYTREE_SHARE} ${i} ${PREFIX}/lib/${PORTNAME}) -.endfor - @${MKDIR} ${DATADIR} - @(cd ${WRKSRC}/frames; ${COPYTREE_SHARE} . ${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/coco.use ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/cocol ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/samples/*.atg ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/samples/*.inp ${EXAMPLESDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} + (cd ${WRKSRC}; ${COPYTREE_SHARE} "cplus2 taste taste_cp" \ + ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/frames; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/coco.use ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/cocol ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/*.atg ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/*.inp ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> Modified: head/lang/cocor/pkg-plist ============================================================================== --- head/lang/cocor/pkg-plist Sat May 31 20:00:55 2014 (r356016) +++ head/lang/cocor/pkg-plist Sat May 31 20:17:58 2014 (r356017) @@ -119,6 +119,7 @@ lib/cocor/taste_cp/xrefp.o lib/cocor/taste_cp/xrefs.cpp lib/cocor/taste_cp/xrefs.hpp lib/cocor/taste_cp/xrefs.o +man/man1/cocor.1.gz %%DATADIR%%/compiler.frm %%DATADIR%%/cplus2/compiler.frm %%DATADIR%%/cplus2/parser_c.frm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405312017.s4VKHxI3004343>