summaryrefslogtreecommitdiff
path: root/irc/xchat-devel
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-devel
parentFix DISTFILE fennerage. I'm only the MAINTAINER for docbook-310, but the (diff)
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-devel')
-rw-r--r--irc/xchat-devel/Makefile6
-rw-r--r--irc/xchat-devel/pkg-plist3
2 files changed, 5 insertions, 4 deletions
diff --git a/irc/xchat-devel/Makefile b/irc/xchat-devel/Makefile
index 34771531b212..731f7709791e 100644
--- a/irc/xchat-devel/Makefile
+++ b/irc/xchat-devel/Makefile
@@ -49,6 +49,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
@@ -56,6 +57,7 @@ CONFIGURE_ARGS+= --disable-panel
.endif
.else
CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB+= GNOME:="@comment "
.endif
.if defined(WITH_GDK_PIXBUF)
@@ -70,10 +72,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GDK_PIXBUF_CONFIG="${GDK_PIXBUF_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-devel/pkg-plist b/irc/xchat-devel/pkg-plist
index bd70b7a88698..be3772ce93b3 100644
--- a/irc/xchat-devel/pkg-plist
+++ b/irc/xchat-devel/pkg-plist
@@ -14,6 +14,9 @@ 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
+%%GNOME:%%share/gnome/pixmaps/xchat_wm.png
share/locale/cs/LC_MESSAGES/xchat.mo
share/locale/da/LC_MESSAGES/xchat.mo
share/locale/de/LC_MESSAGES/xchat.mo