aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-06-24 08:23:56 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-06-24 08:23:56 +0000
commit2f3683d2119b56d1ad6778bf77f4713502e5ba0c (patch)
tree5700bd356df23cbc4344df177588740f716cc449 /news/cnews
parentb7ade1152665e422f3c8089d91059806571ed089 (diff)
downloadports-2f3683d2119b56d1ad6778bf77f4713502e5ba0c.tar.gz
ports-2f3683d2119b56d1ad6778bf77f4713502e5ba0c.zip
- drop support for FreeBSD 2.x
Submitted by: linimon - perfomace gain by dropping gawk workaround - activate regression-test
Notes
Notes: svn path=/head/; revision=166176
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 2c0212e7cb6c..4181ff65e416 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
@@ -34,7 +34,7 @@ PATCHFILES= c-news-patch-fileart.c c-news-patch-namelen \
c-news-patch-pgpverify-1.12-perl4
MAINTAINER= dinoex@FreeBSD.org
-COMMENT= An nntp server
+COMMENT= An news server
DIST_SUBDIR= ${DISTNAME}
NO_WRKSUBDIR= yes
@@ -71,17 +71,10 @@ PGPVERIFY?= pgpverify-1.12
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 300000
-.if make(makesum) || defined(FETCH_ALL)
-PATCHFILES+= c-news-patch-gawk3
-.endif
-.else
+.if make(makesum) || defined(FETCH_ALL) || ${OSVERSION} < 470000
PATCHFILES+= c-news-patch-gawk3
.endif
-check:
- cd ${WRKSRC} && ${MAKE} -${MAKEFLAGS} r
-
pre-patch:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} ${WRKSRC}/${PGPVERIFY}
@@ -145,4 +138,6 @@ test:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} r)
+regression-test: test
+
.include <bsd.port.post.mk>