summaryrefslogtreecommitdiff
path: root/chat/xchat2
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-06-03 10:13:29 +0000
committertron <tron@pkgsrc.org>2005-06-03 10:13:29 +0000
commit8ace06e8f534c7a0d5cb772413ba66e7803baab8 (patch)
tree801fbd555cafa6ef375be1e98bd29850b3e7ad39 /chat/xchat2
parent012ab9b85215af4e4849f2ca211ff6df6fe609cd (diff)
downloadpkgsrc-8ace06e8f534c7a0d5cb772413ba66e7803baab8.tar.gz
Split out "Makefile.common" again because there are packages in
"pkgsrc-wip" which use this file. Pointed out by Min Sik Kim in private e-maiil.
Diffstat (limited to 'chat/xchat2')
-rw-r--r--chat/xchat2/Makefile23
-rw-r--r--chat/xchat2/Makefile.common21
2 files changed, 29 insertions, 15 deletions
diff --git a/chat/xchat2/Makefile b/chat/xchat2/Makefile
index 0959df9dac3..68e4facdd90 100644
--- a/chat/xchat2/Makefile
+++ b/chat/xchat2/Makefile
@@ -1,22 +1,15 @@
-# $NetBSD: Makefile,v 1.44 2005/06/02 23:33:14 tron Exp $
-
-DISTNAME= xchat-2.4.3
-CATEGORIES= chat gnome
-MASTER_SITES= http://www.xchat.org/files/source/2.4/
-EXTRACT_SUFX= .tar.bz2
+# $NetBSD: Makefile,v 1.45 2005/06/03 10:13:29 tron Exp $
MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.xchat.org/
-COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
+
+.include "Makefile.common"
+
+COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
BUILD_USES_MSGFMT= YES
CONFLICTS= xchat-gnome-[0-9]*
-GNU_CONFIGURE= YES
-USE_LIBTOOL= YES
-USE_TOOLS+= gmake
-
USE_DIRS+= xdg-1.1
USE_PKGLOCALEDIR= YES
@@ -31,10 +24,10 @@ LDFLAGS.Darwin+= -lX11
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xchat/plugins
-.include "../../devel/gettext-lib/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..d7f81b7b161
--- /dev/null
+++ b/chat/xchat2/Makefile.common
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile.common,v 1.6 2005/06/03 10:13:29 tron Exp $
+#
+# Please do not merge this file into "Makefile" because it is used by
+# packages in "pkgsrc-wip".
+
+DISTNAME= xchat-2.4.3
+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_LIBTOOL= YES
+USE_TOOLS+= gmake
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"