pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/xchat2 Split Makefile so that it can be shared wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b854a98b754
branches:  trunk
changeset: 482617:8b854a98b754
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Oct 30 18:10:35 2004 +0000

description:
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:

 chat/xchat2/Makefile        |  16 +++-------------
 chat/xchat2/Makefile.common |  20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r 7e0649ac94c0 -r 8b854a98b754 chat/xchat2/Makefile
--- a/chat/xchat2/Makefile      Sat Oct 30 18:02:45 2004 +0000
+++ b/chat/xchat2/Makefile      Sat Oct 30 18:10:35 2004 +0000
@@ -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@localhost
-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 @@
 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 -r 7e0649ac94c0 -r 8b854a98b754 chat/xchat2/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/xchat2/Makefile.common       Sat Oct 30 18:10:35 2004 +0000
@@ -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@localhost
+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"



Home | Main Index | Thread Index | Old Index