mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- drop support for FreeBSD 2.x
Submitted by: linimon - perfomace gain by dropping gawk workaround - activate regression-test
This commit is contained in:
parent
b7ade11526
commit
2f3683d211
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166176
@ -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,16 +71,9 @@ PGPVERIFY?= pgpverify-1.12
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 300000
|
||||
.if make(makesum) || defined(FETCH_ALL)
|
||||
.if make(makesum) || defined(FETCH_ALL) || ${OSVERSION} < 470000
|
||||
PATCHFILES+= c-news-patch-gawk3
|
||||
.endif
|
||||
.else
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user