summaryrefslogtreecommitdiff
path: root/net/ytalk/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-22 19:39:26 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-22 19:39:26 +0000
commit8072876d4078972cf3d5ad6110869bcdc5fcc7d4 (patch)
tree4ed13bed202bf4356c3108f7db640ef18f4d85e9 /net/ytalk/Makefile
parentd47fb0b37d3b638d3d35140cf4f500bc36903b37 (diff)
downloadpkgsrc-8072876d4078972cf3d5ad6110869bcdc5fcc7d4.tar.gz
Make this package install its configuration file under the examples tree
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'net/ytalk/Makefile')
-rw-r--r--net/ytalk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/ytalk/Makefile b/net/ytalk/Makefile
index 8ff2aebe3f2..63fae7f0177 100644
--- a/net/ytalk/Makefile
+++ b/net/ytalk/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2001/02/17 18:19:59 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/12/22 19:39:26 jmmv Exp $
DISTNAME= ytalk-3.1.1
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/network/chat/}
@@ -11,4 +12,10 @@ COMMENT= Multi-user replacement for UNIX talk
GNU_CONFIGURE= yes
USE_X11= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/ytalk
+CONF_FILES= ${EGDIR}/ytalkrc ${PKG_SYSCONFDIR}/ytalkrc
+
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"