summaryrefslogtreecommitdiff
path: root/chat/xchat2
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-30 18:10:35 +0000
committerminskim <minskim@pkgsrc.org>2004-10-30 18:10:35 +0000
commit35846893cd81190dbd021c43031ab490cd28ae11 (patch)
tree9a7d85a60110603919a5bf242297f8b25046e3ba /chat/xchat2
parentc2c89abdd400dcc605fa4a3588e3f6177e660a76 (diff)
downloadpkgsrc-35846893cd81190dbd021c43031ab490cd28ae11.tar.gz
Split Makefile so that it can be shared with xchat plugin packages (to
be imported). Patches provided by adrianp@ with slight modification by me.
Diffstat (limited to 'chat/xchat2')
-rw-r--r--chat/xchat2/Makefile16
-rw-r--r--chat/xchat2/Makefile.common20
2 files changed, 23 insertions, 13 deletions
diff --git a/chat/xchat2/Makefile b/chat/xchat2/Makefile
index 30f16c33239..dc9e9249602 100644
--- a/chat/xchat2/Makefile
+++ b/chat/xchat2/Makefile
@@ -1,25 +1,17 @@
-# $NetBSD: Makefile,v 1.36 2004/10/30 18:02:45 minskim Exp $
+# $NetBSD: Makefile,v 1.37 2004/10/30 18:10:35 minskim Exp $
#
-DISTNAME= xchat-2.4.0
+.include "Makefile.common"
+
PKGREVISION= 1
-CATEGORIES= chat gnome
-MASTER_SITES= http://www.xchat.org/files/source/2.4/
-EXTRACT_SUFX= .tar.bz2
-MAINTAINER= minskim@NetBSD.org
-HOMEPAGE= http://www.xchat.org/
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
BUILD_USES_MSGFMT= YES
CONFLICTS= xchat-gnome-[0-9]*
-GNU_CONFIGURE= YES
-USE_BUILDLINK3= YES
USE_DIRS+= gnome2-1.5
-USE_LIBTOOL= YES
-USE_GNU_TOOLS+= make
USE_PKGLOCALEDIR= YES
USE_X11= YES
@@ -54,7 +46,5 @@ CONFIGURE_ARGS+= --enable-openssl=${SSLBASE}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xchat/plugins
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/xchat2/Makefile.common b/chat/xchat2/Makefile.common
new file mode 100644
index 00000000000..05779b50b2f
--- /dev/null
+++ b/chat/xchat2/Makefile.common
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2004/10/30 18:10:35 minskim Exp $
+#
+
+DISTNAME= xchat-2.4.0
+CATEGORIES= chat gnome
+MASTER_SITES= http://www.xchat.org/files/source/2.4/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.xchat.org/
+
+DISTINFO_FILE= ${.CURDIR}/../../chat/xchat2/distinfo
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_LIBTOOL= YES
+USE_GNU_TOOLS+= make
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"