diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-26 18:25:20 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-26 18:25:20 +0000 |
commit | 78807d7372c150e116c91e33f1f60d4a4a0aa32c (patch) | |
tree | afdbc466fab1d35d889060b4a0d6f49a330cb164 /news/cnews | |
parent | Update to reflect the new configuration of the cnews port. (diff) |
Mark broken for anything except 2.x because our system awk (3.0.3) causes
crashes and corrupted output.
PR: 14420
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=23367
Diffstat (limited to 'news/cnews')
-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 |