aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-12 08:22:17 +0800
committeredwin <edwin@FreeBSD.org>2005-11-12 08:22:17 +0800
commitccfbe5287076a0c2fcfbda288df02b16d49cb5a7 (patch)
treeac52abe24760770b3131fa07ae07e6d33d60fe9c /news
parent5cf03100f43a0a801f7cbe42ec182f2ff64c43b8 (diff)
downloadfreebsd-ports-gnome-ccfbe5287076a0c2fcfbda288df02b16d49cb5a7.tar.gz
freebsd-ports-gnome-ccfbe5287076a0c2fcfbda288df02b16d49cb5a7.tar.zst
freebsd-ports-gnome-ccfbe5287076a0c2fcfbda288df02b16d49cb5a7.zip
For some reason, news/gnus20-emacs creates gnus-4.info on 6.0 but not on 4/5.x.
Noticed by: YAPHR
Diffstat (limited to 'news')
-rw-r--r--news/gnus-emacs20/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/news/gnus-emacs20/Makefile b/news/gnus-emacs20/Makefile
index 2a1d5ba0e2a9..a6778cbe7c9b 100644
--- a/news/gnus-emacs20/Makefile
+++ b/news/gnus-emacs20/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnus
PORTVERSION= 5.8.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= news mail elisp
MASTER_SITES= ftp://ftp.monash.edu.au/pub/gnus/ \
ftp://ftp.kreonet.re.kr/pub/tools/emacs/gnus/ \
@@ -34,6 +34,12 @@ DOCS= ChangeLog GNUS-NEWS README
PLIST_SUB+= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
INFODIR=${INFODIR:S/${PREFIX}\///}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+INFO+= gnus-4
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${PORTDOCDIR}
@@ -42,4 +48,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>