aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-11-07 23:30:37 +0800
committervd <vd@FreeBSD.org>2006-11-07 23:30:37 +0800
commit2a8418597d9a9c7ac9632024e13dd1805165a331 (patch)
tree982850d7dce07982acfd55776ef87084f5ba84fd /games
parent1196326a1dc93a971601e7fac5a8c67954434a4f (diff)
downloadfreebsd-ports-gnome-2a8418597d9a9c7ac9632024e13dd1805165a331.tar.gz
freebsd-ports-gnome-2a8418597d9a9c7ac9632024e13dd1805165a331.tar.zst
freebsd-ports-gnome-2a8418597d9a9c7ac9632024e13dd1805165a331.zip
Fix pkg-plist, second attempt:
bin/ifm2dev bin/ifm2tex bin/scr2ifm are installed only on 4.x (for some reason). Plist failure on 4.x reported by Kris.
Diffstat (limited to 'games')
-rw-r--r--games/ifm/Makefile12
-rw-r--r--games/ifm/pkg-plist3
2 files changed, 13 insertions, 2 deletions
diff --git a/games/ifm/Makefile b/games/ifm/Makefile
index 849f274ccde0..f25c179af678 100644
--- a/games/ifm/Makefile
+++ b/games/ifm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ifm
PORTVERSION= 5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games tk84
MASTER_SITES= http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ \
http://www.ifarchive.org/%SUBDIR%/
@@ -34,4 +34,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/ifm/* ${DOCSDIR}/html
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+PLIST_SUB+= RELENG4=""
+.else
+PLIST_SUB+= RELENG4="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/ifm/pkg-plist b/games/ifm/pkg-plist
index d3b79ca840ab..5447dc74081e 100644
--- a/games/ifm/pkg-plist
+++ b/games/ifm/pkg-plist
@@ -1,4 +1,7 @@
bin/ifm
+%%RELENG4%%bin/ifm2dev
+%%RELENG4%%bin/ifm2tex
+%%RELENG4%%bin/scr2ifm
bin/tkifm
lib/ifm/gpp
%%PORTDOCS%%%%DOCSDIR%%/html/WARNINGS