summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"