From f01d2d44fc245fca7b53056202f4a39602c0f5c8 Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 30 Oct 2004 18:10:35 +0000 Subject: Split Makefile so that it can be shared with xchat plugin packages (to be imported). Patches provided by adrianp@ with slight modification by me. --- chat/xchat2/Makefile | 16 +++------------- chat/xchat2/Makefile.common | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 chat/xchat2/Makefile.common (limited to 'chat/xchat2') 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" -- cgit v1.2.3