summaryrefslogtreecommitdiff
path: root/chat/xchat
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-26 17:36:24 +0000
committerwiz <wiz@pkgsrc.org>2002-07-26 17:36:24 +0000
commit4b780c7bc89c826ef46d9a7d73ca2c00930b651c (patch)
tree02207623fa5cc46f479d6368d1846d4509a4cd43 /chat/xchat
parentfae70c72e605066f778088e2f85f92150218ddff (diff)
downloadpkgsrc-4b780c7bc89c826ef46d9a7d73ca2c00930b651c.tar.gz
Split xchat-gnome from xchat. From Julio Merino in pkg/17688.
Diffstat (limited to 'chat/xchat')
-rw-r--r--chat/xchat/Makefile47
-rw-r--r--chat/xchat/Makefile.common52
2 files changed, 61 insertions, 38 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index 4ed6236aebc..d39da665241 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -1,44 +1,15 @@
-# $NetBSD: Makefile,v 1.22 2002/06/06 11:25:52 manu Exp $
+# $NetBSD: Makefile,v 1.23 2002/07/26 17:36:24 wiz Exp $
-DISTNAME= xchat-1.8.9
-CATEGORIES= chat x11 gnome
-MASTER_SITES= ${HOMEPAGE}files/source/1.8/
-EXTRACT_SUFX= .tar.bz2
+.include "Makefile.common"
-MAINTAINER= tron@netbsd.org
-HOMEPAGE= http://xchat.org/
-COMMENT= X11 (X Window System) IRC client, using the GTK+ toolkit
+PKGREVISION= 1
-USE_GMAKE= YES
-USE_PERL5= YES
-USE_X11BASE= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ENV+= ac_cv_lib_intl_bindtextdomain='yes'
-CONFIGURE_ENV+= pythonpath=${PYTHONBIN}
-MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
-BUILD_USES_MSGFMT= YES
+CONFIGURE_ARGS+= --disable-gnome
+CONFIGURE_ARGS+= --disable-zvt
-BUILD_DEFS+= USE_INET6
+CONFLICTS+= xchat-gnome-[0-9]*
-.include "../../mk/bsd.prefs.mk"
-
-CONFIGURE_ARGS+= --enable-panel
-
-# IPv6 support
-.if defined(USE_INET6) && ${USE_INET6} == YES
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-
-# SSL support
-.if defined(XCHAT_USE_SSL) && ${XCHAT_USE_SSL} == "YES"
-.include "../../security/openssl/buildlink.mk"
-CONFIGURE_ARGS+= --enable-openssl=${BUILDLINK_DIR}
-.endif
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchat
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/xchat
-
-.include "../../lang/python/application.buildlink.mk"
-.include "../../x11/gnome-core/buildlink.mk"
+.include "../../graphics/gdk-pixbuf/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/xchat/Makefile.common b/chat/xchat/Makefile.common
new file mode 100644
index 00000000000..b947033e3ea
--- /dev/null
+++ b/chat/xchat/Makefile.common
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile.common,v 1.1 2002/07/26 17:36:24 wiz Exp $
+
+DISTNAME= xchat-1.8.9
+CATEGORIES= chat x11
+MASTER_SITES= ${HOMEPAGE}files/source/1.8/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://xchat.org/
+COMMENT= X11 (X Window System) IRC client, using the GTK+ toolkit
+
+DISTINFO_FILE= ${.CURDIR}/../xchat/distinfo
+FILESDIR= ${.CURDIR}/../xchat/files
+PATCHDIR= ${.CURDIR}/../xchat/patches
+PKGDIR= ${.CURDIR}/../xchat
+PLIST_SRC= ${.CURDIR}/../xchat/PLIST
+
+USE_GMAKE= YES
+USE_PERL5= YES
+USE_X11BASE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= ac_cv_lib_intl_bindtextdomain='yes'
+CONFIGURE_ENV+= pythonpath=${PYTHONBIN}
+MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+BUILD_USES_MSGFMT= YES
+
+BUILD_DEFS+= USE_INET6 USE_SOCKS
+
+.include "../../mk/bsd.prefs.mk"
+
+# IPv6 support
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+# SSL support
+.if defined(XCHAT_USE_SSL) && ${XCHAT_USE_SSL} == "YES"
+.include "../../security/openssl/buildlink.mk"
+CONFIGURE_ARGS+= --enable-openssl=${BUILDLINK_DIR}
+.endif
+
+# Socks support
+.if defined(USE_SOCKS) && ${USE_SOCKS} == YES
+CONFIGURE_ARGS+= --enable-socks
+.endif
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchat
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/xchat
+
+.include "../../devel/glib/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"