summaryrefslogtreecommitdiff
path: root/comms/xisp/Makefile
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-10-06 22:14:44 +0000
committerreed <reed@pkgsrc.org>2006-10-06 22:14:44 +0000
commit46f75bea5d9a19ec2ed7ddfaee9debe92522262c (patch)
tree06f0db2971327436b0194d391b85fed45e6ddcfc /comms/xisp/Makefile
parent21499be7adac5fcd8c857ee1378c91b4da294ec5 (diff)
downloadpkgsrc-46f75bea5d9a19ec2ed7ddfaee9debe92522262c.tar.gz
This adds a mk.conf setting for the xisp "dialer" group. I call it
"DIALER_GROUP" instead of "XISP_GROUP" as maybe it can be used for other packages also later. This is for PR pkg/19566. Update MESSAGE to use LOCALBASE instead of X11BASE. (From Manuel Bouyer) And update MESSAGE to not hardcode the "group". This also updates patch-ac because of conflicting types for fprintf and printf. I don't know how this package built before on NetBSD recently. Also this patch honors VARBASE and PKGMANDIR. Thank you Manuel Bouyer for testing this.
Diffstat (limited to 'comms/xisp/Makefile')
-rw-r--r--comms/xisp/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/comms/xisp/Makefile b/comms/xisp/Makefile
index abd9d560685..247a7450e35 100644
--- a/comms/xisp/Makefile
+++ b/comms/xisp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2006/03/04 21:29:05 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2006/10/06 22:14:44 reed Exp $
#
DISTNAME= xisp-2.7p1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= comms x11
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/network/serial/} \
http://xisp.hellug.gr/release/ \
@@ -12,6 +12,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xisp.hellug.gr/
COMMENT= User-friendly X11 interface to pppd/chat
+PKG_GROUPS= ${DIALER_GROUP}
+BUILD_DEFS+= DIALER_GROUP
+MAKE_ENV+= DIALER_GROUP="${DIALER_GROUP}"
+MAKE_ENV+= VARBASE=${VARBASE:Q}
+MESSAGE_SUBST+= DIALER_GROUP=${DIALER_GROUP}
+# XXX TODO: maybe do MODEM_DEV also?
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xisp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xisp/