diff options
-rw-r--r-- | net/ywho/Makefile | 4 | ||||
-rw-r--r-- | net/ywho/distinfo | 3 | ||||
-rw-r--r-- | net/ywho/patches/patch-Makefile | 33 |
3 files changed, 37 insertions, 3 deletions
diff --git a/net/ywho/Makefile b/net/ywho/Makefile index ac29a6f1e68..0413e675c69 100644 --- a/net/ywho/Makefile +++ b/net/ywho/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2011/03/17 22:12:54 zafer Exp $ +# $NetBSD: Makefile,v 1.12 2011/11/14 23:52:26 dholland Exp $ # DISTNAME= ywho-1.3 @@ -11,7 +11,7 @@ COMMENT= Who, users, uptime on clients in a sun-RPC network PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes -MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX} +MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX} PKGMANDIR=${PKGMANDIR} BUILD_TARGET= all INSTALL_TARGET= install install.man diff --git a/net/ywho/distinfo b/net/ywho/distinfo index 743c8e77d41..cd883226c92 100644 --- a/net/ywho/distinfo +++ b/net/ywho/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2006/05/10 06:13:51 minskim Exp $ +$NetBSD: distinfo,v 1.5 2011/11/14 23:52:26 dholland Exp $ SHA1 (ywho-1.3.tar.gz) = 68dd6b8122b8821c7354254464c1946850753589 RMD160 (ywho-1.3.tar.gz) = e362928ddc5f2bb13ebd86f2be2a9839e33c0df4 Size (ywho-1.3.tar.gz) = 7741 bytes +SHA1 (patch-Makefile) = cdbb41244f3f4cf85dd9f0c3aee9b3d257fb0ab4 SHA1 (patch-aa) = 0662aef67b208679ba67d77c425f28ebc14dbc03 diff --git a/net/ywho/patches/patch-Makefile b/net/ywho/patches/patch-Makefile new file mode 100644 index 00000000000..aa059268283 --- /dev/null +++ b/net/ywho/patches/patch-Makefile @@ -0,0 +1,33 @@ +$NetBSD: patch-Makefile,v 1.1 2011/11/14 23:52:26 dholland Exp $ + +Honor PKGMANDIR. + +--- Makefile~ 2000-12-17 17:08:52.000000000 +0000 ++++ Makefile +@@ -7,6 +7,7 @@ SHELL = /bin/sh + CFLAGS = -O2 -Wall # -g -DDEBUG + LDFLAGS = # -g + DEST = /usr/local ++PKGMANDIR = man + OBJS = ywho.o xdr.o + SRCS = ywho.c xdr.c + LIBS = -lrpcsvc #-lsocket -lnsl +@@ -37,12 +38,12 @@ depend: + + install.man: + rm -f \ +- $(DEST)/man/man1/ywho.1 \ +- $(DEST)/man/man1/yusers.1 \ +- $(DEST)/man/man1/yuptime.1 +- install -m 0444 ywho.man $(DEST)/man/man1/ywho.1 +- ln -s ywho.1 $(DEST)/man/man1/yusers.1 +- ln -s ywho.1 $(DEST)/man/man1/yuptime.1 ++ $(DEST)/$(PKGMANDIR)/man1/ywho.1 \ ++ $(DEST)/$(PKGMANDIR)/man1/yusers.1 \ ++ $(DEST)/$(PKGMANDIR)/man1/yuptime.1 ++ install -m 0444 ywho.man $(DEST)/$(PKGMANDIR)/man1/ywho.1 ++ ln -s ywho.1 $(DEST)/$(PKGMANDIR)/man1/yusers.1 ++ ln -s ywho.1 $(DEST)/$(PKGMANDIR)/man1/yuptime.1 + + tar: ywho.tar.gz + |