aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat2
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-09-08 04:45:53 +0800
committerjim <jim@FreeBSD.org>2000-09-08 04:45:53 +0800
commit63b5c0d79433789578064994e731e195efc4d7e1 (patch)
tree81c7d100247071809929eb3d8319091eecd772e9 /irc/xchat2
parentc44cf8524fb16096a19b36540d3608ad6795d96a (diff)
downloadfreebsd-ports-gnome-63b5c0d79433789578064994e731e195efc4d7e1.tar.gz
freebsd-ports-gnome-63b5c0d79433789578064994e731e195efc4d7e1.tar.zst
freebsd-ports-gnome-63b5c0d79433789578064994e731e195efc4d7e1.zip
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 189bb833f294..f3428d49c118 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 cbb8fdb32a05..4927f119a67a 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