diff options
-rw-r--r-- | net/ytalk/Makefile | 9 | ||||
-rw-r--r-- | net/ytalk/PLIST | 5 | ||||
-rw-r--r-- | net/ytalk/distinfo | 3 | ||||
-rw-r--r-- | net/ytalk/patches/patch-ab | 23 |
4 files changed, 36 insertions, 4 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" diff --git a/net/ytalk/PLIST b/net/ytalk/PLIST index 87553472164..b9f4ea4dc13 100644 --- a/net/ytalk/PLIST +++ b/net/ytalk/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:59 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/12/22 19:39:26 jmmv Exp $ bin/ytalk -etc/ytalkrc man/man1/ytalk.1 +share/examples/ytalk/ytalkrc +@dirrm share/examples/ytalk diff --git a/net/ytalk/distinfo b/net/ytalk/distinfo index 1cb8abfcbfd..7cec755ddb1 100644 --- a/net/ytalk/distinfo +++ b/net/ytalk/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 11:23:42 wiz Exp $ +$NetBSD: distinfo,v 1.3 2002/12/22 19:39:26 jmmv Exp $ SHA1 (ytalk-3.1.1.tar.gz) = be7828b46bac5cb0c3a1a95052e49b9d8337ea27 Size (ytalk-3.1.1.tar.gz) = 83244 bytes SHA1 (patch-aa) = 7c5cd9207b19016c471a26fbb66148adf5f24e0a +SHA1 (patch-ab) = 65db8d60db07ec7bc4530a8fca84f6d411b61db2 diff --git a/net/ytalk/patches/patch-ab b/net/ytalk/patches/patch-ab new file mode 100644 index 00000000000..f5bba970903 --- /dev/null +++ b/net/ytalk/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1 2002/12/22 19:39:27 jmmv Exp $ + +--- Makefile.in.orig Sun Nov 15 04:53:52 1998 ++++ Makefile.in +@@ -21,7 +21,8 @@ VPATH = @srcdir@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ +-sysconfdir = @sysconfdir@ ++realsysconfdir = @sysconfdir@ ++sysconfdir = @datadir@/examples/ytalk + mandir = @mandir@ + manext = 1 + +@@ -31,7 +32,7 @@ CPPFLAGS = @CPPFLAGS@ + INCLUDES = @XINCS@ + LIBS = @LIBS@ @XLIBS@ + LDFLAGS = @LDFLAGS@ +-DEFS = @DEFS@ -DSYSTEM_YTALKRC=\"$(sysconfdir)/ytalkrc\" ++DEFS = @DEFS@ -DSYSTEM_YTALKRC=\"$(realsysconfdir)/ytalkrc\" + + COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS) + LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ |