aboutsummaryrefslogtreecommitdiff
path: root/irc/xchat
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-09-07 20:45:53 +0000
committerJim Mock <jim@FreeBSD.org>2000-09-07 20:45:53 +0000
commit6d443947785139a1e6c908901b90eee2774e897b (patch)
tree62c0b7370ef3a84c1c2465b21f878a3d14d4e71b /irc/xchat
parentaba308616abe0583714513530a1e02c86684d7e7 (diff)
downloadports-6d443947785139a1e6c908901b90eee2774e897b.tar.gz
ports-6d443947785139a1e6c908901b90eee2774e897b.zip
Clean up the PLIST handling. There is now only one PLIST to maintain.
Submitted by: ade
Notes
Notes: svn path=/head/; revision=32408
Diffstat (limited to 'irc/xchat')
-rw-r--r--irc/xchat/Makefile6
-rw-r--r--irc/xchat/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index 189bb833f294..f3428d49c118 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/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/xchat/pkg-plist b/irc/xchat/pkg-plist
index cbb8fdb32a05..4927f119a67a 100644
--- a/irc/xchat/pkg-plist
+++ b/irc/xchat/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