aboutsummaryrefslogtreecommitdiffstats
path: root/news/cnews
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-06-24 16:23:56 +0800
committerdinoex <dinoex@FreeBSD.org>2006-06-24 16:23:56 +0800
commite3e82ef954f2d44793bb9791d55d70cb96628d04 (patch)
treec592fbededb48b8c9dd614c52446994b59abdbc7 /news/cnews
parent2a8dcb38b388fc1e5d5dc338e27b31a739a67b6c (diff)
downloadfreebsd-ports-gnome-e3e82ef954f2d44793bb9791d55d70cb96628d04.tar.gz
freebsd-ports-gnome-e3e82ef954f2d44793bb9791d55d70cb96628d04.tar.zst
freebsd-ports-gnome-e3e82ef954f2d44793bb9791d55d70cb96628d04.zip
- drop support for FreeBSD 2.x
Submitted by: linimon - perfomace gain by dropping gawk workaround - activate regression-test
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>