summaryrefslogtreecommitdiffstats
path: root/irc/xchat2
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-09-07 20:45:53 +0000
committerjim <jim@FreeBSD.org>2000-09-07 20:45:53 +0000
commit63b5c0d79433789578064994e731e195efc4d7e1 (patch)
tree81c7d100247071809929eb3d8319091eecd772e9 /irc/xchat2
parentc44cf8524fb16096a19b36540d3608ad6795d96a (diff)
downloadFreeBSD-ports-63b5c0d79433789578064994e731e195efc4d7e1.zip
FreeBSD-ports-63b5c0d79433789578064994e731e195efc4d7e1.tar.gz
Clean up the PLIST handling. There is now only one PLIST to maintain.
Submitted by: ade
Diffstat (limited to 'irc/xchat2')
-rw-r--r--irc/xchat2/Makefile6
-rw-r--r--irc/xchat2/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/irc/xchat2/Makefile b/irc/xchat2/Makefile
index 189bb83..f3428d4 100644
--- a/irc/xchat2/Makefile
+++ b/irc/xchat2/Makefile
@@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
+PLIST_SUB+= GNOME:=""
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --enable-panel
.else
@@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
.endif
.else
CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB+= GNOME:="@comment "
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
-.if defined(WITH_GNOME)
-PLIST= ${PKGDIR}/PLIST.gnome
-.endif
-
post-install:
@strip ${PREFIX}/bin/xchat
.if !defined(NOPORTDOCS)
diff --git a/irc/xchat2/pkg-plist b/irc/xchat2/pkg-plist
index cbb8fdb..4927f11 100644
--- a/irc/xchat2/pkg-plist
+++ b/irc/xchat2/pkg-plist
@@ -14,6 +14,8 @@ share/doc/xchat/xchat-9.html
share/doc/xchat/xchat-10.html
share/doc/xchat/README
share/doc/xchat/ChangeLog
+%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
+%%GNOME:%%share/gnome/pixmaps/xchat.png
share/locale/cs/LC_MESSAGES/xchat.mo
share/locale/da/LC_MESSAGES/xchat.mo
share/locale/de/LC_MESSAGES/xchat.mo
OpenPOWER on IntegriCloud