diff options
-rw-r--r-- | news/cnews/Makefile | 14 | ||||
-rw-r--r-- | news/cnews/pkg-plist | 4 |
2 files changed, 16 insertions, 2 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile index 33c1ad7c3c84..7c5320148039 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -44,6 +44,7 @@ MAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \ mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \ newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \ rnews.8cn +PLIST= ${WRKDIR}/.PLIST.sed MODIFY= conf/quiz.def \ conf/substitutions \ @@ -55,6 +56,13 @@ NEWSARTS?= /var/news NEWSOV?= /var/news/over.view PGPVERIFY?= pgpverify-1.12 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 300000 +.else +BROKEN= gawk need to be updated to 3.0.4 +.endif + pre-patch: @${CP} ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} ${WRKSRC}/${PGPVERIFY} @@ -70,6 +78,10 @@ pre-configure: -e "s=/usr/local/bin=${PREFIX}/bin=" \ ${WRKSRC}/${i}.sed >${WRKSRC}/${i} .endfor + @${SED} \ + -e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \ + -e "s=news/lib=${NEWSCTL:S=${PREFIX}/==}=" \ + ${PKGDIR}/PLIST >${PLIST} do-install: ${RM} -f ${PREFIX}/bin/inews @@ -106,4 +118,4 @@ do-install: @${ECHO} "!!!!!!!!" @${ECHO} "" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist index 2ea7609ebc3a..943a885adf63 100644 --- a/news/cnews/pkg-plist +++ b/news/cnews/pkg-plist @@ -150,5 +150,7 @@ news/lib/whoami @dirrm news/cnewsbin/maint @dirrm news/cnewsbin/nov @dirrm news/cnewsbin/relay -@dirrm news/lib/bin @dirrm news/cnewsbin +@dirrm news/lib/bin +@dirrm news/lib +@dirrm news |