svn commit: r335424 - head/news/c-nocem
Dirk Meyer
dinoex at FreeBSD.org
Sun Dec 1 18:33:27 UTC 2013
Author: dinoex
Date: Sun Dec 1 18:33:26 2013
New Revision: 335424
URL: http://svnweb.freebsd.org/changeset/ports/335424
Log:
- use STAGEDIR
- USES=gmake
Modified:
head/news/c-nocem/Makefile
Modified: head/news/c-nocem/Makefile
==============================================================================
--- head/news/c-nocem/Makefile Sun Dec 1 18:22:50 2013 (r335423)
+++ head/news/c-nocem/Makefile Sun Dec 1 18:33:26 2013 (r335424)
@@ -15,13 +15,12 @@ BUILD_DEPENDS= ${CNEWSWRK}/conf/substitu
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWS_PORT} \
gpgv:${PORTSDIR}/security/gnupg1
-NO_STAGE= yes
-
-USES= perl5
-USE_GMAKE= yes
+USES= perl5 gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
+CONFIGURE_ENV+= PERL=${PERL}
WRKSRC= ${WRKDIR}/c-nocem
+
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
PLIST_FILES= %%NEWSBIN%%/fastcancel %%NEWSBIN%%/c-nocem
@@ -31,4 +30,11 @@ CNEWS_PORT?= news/cnews
CNEWSWRK?= ${WRKDIRPREFIX}${.CURDIR}/../../${CNEWS_PORT}/work
NEWSBIN?= ${PREFIX}/libexec/cnews
+post-patch:
+ ${REINPLACE_CMD} -e 's|@newsbin@|${STAGEDIR}@newsbin@|' \
+ ${WRKSRC}/Makefile.in
+
+pre-install:
+ ${MKDIR} ${STAGEDIR}${NEWSBIN}
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list