summaryrefslogtreecommitdiff
path: root/chat/xchat/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-02 21:48:42 +0000
committerwiz <wiz@pkgsrc.org>2005-06-02 21:48:42 +0000
commitd0f39684b28a2171db8d42193fbb5feb4b71e365 (patch)
tree02b67f02485d6a248e5e4f2bb4ec98e446b2c06b /chat/xchat/Makefile
parentfa7042a3d6197b5b6548110795cc1879e82a1010 (diff)
downloadpkgsrc-d0f39684b28a2171db8d42193fbb5feb4b71e365.tar.gz
Convert to options framework.
While here, reintegrate Makefile.common into Makefile since xchat-gnome has been removed from pkgsrc and there is no further need for Makefile.common. tron@ says do it.
Diffstat (limited to 'chat/xchat/Makefile')
-rw-r--r--chat/xchat/Makefile32
1 files changed, 27 insertions, 5 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index 6f39d62f613..6bd1147721a 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -1,15 +1,37 @@
-# $NetBSD: Makefile,v 1.29 2004/04/26 22:07:06 snj Exp $
+# $NetBSD: Makefile,v 1.30 2005/06/02 21:48:42 wiz Exp $
-.include "Makefile.common"
+DISTNAME= xchat-1.8.11
+PKGREVISION= 11
+CATEGORIES= chat x11
+MASTER_SITES= ${HOMEPAGE}files/source/1.8/
+EXTRACT_SUFX= .tar.bz2
-# Don't set "PKGREVISION" here, set it in "Makefile.common".
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://xchat.org/
+COMMENT= X11 (X Window System) IRC client, using the GTK+ toolkit
+BUILD_USES_MSGFMT= YES
+
+USE_DIRS+= gnome1-1.5
+USE_PKGLOCALEDIR= YES
+USE_X11BASE= YES
+USE_TOOLS+= gmake grep perl
+CONFIGURE_ARGS+= --enable-python
+
+CONFLICTS+= xchat-gnome-[0-9]*
+
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= ac_cv_path_perlpath=${PERL5} pythonpath=${PYTHONBIN}
CONFIGURE_ARGS+= --disable-gnome
CONFIGURE_ARGS+= --disable-zvt
-CONFLICTS+= xchat-gnome-[0-9]*
+.include "options.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchat
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/xchat
.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
-
+.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"