Date: Sat, 21 Nov 2015 17:23:43 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402168 - head/news/c-nocem Message-ID: <201511211723.tALHNhbi007717@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Sat Nov 21 17:23:43 2015 New Revision: 402168 URL: https://svnweb.freebsd.org/changeset/ports/402168 Log: - fix build with custom CNEWS_PORT Modified: head/news/c-nocem/Makefile Modified: head/news/c-nocem/Makefile ============================================================================== --- head/news/c-nocem/Makefile Sat Nov 21 17:20:24 2015 (r402167) +++ head/news/c-nocem/Makefile Sat Nov 21 17:23:43 2015 (r402168) @@ -24,12 +24,6 @@ WRKSRC= ${WRKDIR}/c-nocem PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==} PLIST_FILES= %%NEWSBIN%%/fastcancel %%NEWSBIN%%/c-nocem -CNEWS_PORT?= news/cnews -#CNEWSWRK?= ${WRKDIRPREFIX}${PORTSDIR}/${CNEWS_PORT}/work -# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR} -CNEWSWRK!= ${MAKE} -C ${.CURDIR}/../../${CNEWS_PORT} -V WRKSRC -NEWSBIN?= ${PREFIX}/libexec/cnews - post-patch: ${REINPLACE_CMD} -e 's|@newsbin@|${STAGEDIR}@newsbin@|' \ ${WRKSRC}/Makefile.in @@ -37,4 +31,12 @@ post-patch: pre-install: ${MKDIR} ${STAGEDIR}${NEWSBIN} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +# CNEWS_PORT can be set in Makefile.local +CNEWS_PORT?= news/cnews +# ${.CURDIR}/../.. can be diffrent from ${PORTSDIR} +CNEWSWRK!= ${MAKE} -C ${.CURDIR}/../../${CNEWS_PORT} -V WRKSRC +NEWSBIN?= ${PREFIX}/libexec/cnews + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511211723.tALHNhbi007717>