- use PLIST_FILES
This commit is contained in:
parent
e06385ddf3
commit
b59bfa0126
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331832
@ -17,16 +17,18 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/${CNEWS_PORT} \
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
USES= perl5
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
|
||||
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?= ${WRKDIRPREFIX}${.CURDIR}/../../${CNEWS_PORT}/work
|
||||
NEWSBIN?= ${PREFIX}/libexec/cnews
|
||||
USE_GMAKE= yes
|
||||
USES= perl5
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-cnews=${CNEWSWRK}
|
||||
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +0,0 @@
|
||||
%%NEWSBIN%%/fastcancel
|
||||
%%NEWSBIN%%/c-nocem
|
Loading…
Reference in New Issue
Block a user