summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-12-22 15:45:06 +0000
committeragc <agc@pkgsrc.org>1999-12-22 15:45:06 +0000
commit2b02aa604b8f2ba5203288ece3d3b4db3b3c4596 (patch)
tree4b5bad1248311fb865433d410ef3709f4e2bc50b
parent684bfd2aa41a5221f494d096fbfaa78c58e4275f (diff)
downloadpkgsrc-2b02aa604b8f2ba5203288ece3d3b4db3b3c4596.tar.gz
Rather than attempting to follow the checked-out cvs tree, package the
packages.7 man page up into its own distfile. Depending on Operating System, install the manual page into the correct place. Update distfile checksum accordingly.
-rw-r--r--pkgtools/pkgmanpages/Makefile15
-rw-r--r--pkgtools/pkgmanpages/files/md54
2 files changed, 12 insertions, 7 deletions
diff --git a/pkgtools/pkgmanpages/Makefile b/pkgtools/pkgmanpages/Makefile
index 410106e78f9..53b179584a2 100644
--- a/pkgtools/pkgmanpages/Makefile
+++ b/pkgtools/pkgmanpages/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/12/07 11:44:04 agc Exp $
+# $NetBSD: Makefile,v 1.2 1999/12/22 15:45:06 agc Exp $
#
-DISTNAME= packages.7
-PKGNAME= pkgmanpages-1.0
+DISTNAME= pkgmanpages-19991222
CATEGORIES= pkgtools
-MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/man/man7/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= agc@netbsd.org
HOMEPAGE= http://www.netbsd.org/
@@ -12,7 +11,13 @@ HOMEPAGE= http://www.netbsd.org/
NO_BUILD= yes
NO_WRKSUBDIR= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+PREFIX= /usr/share
+.endif
+
do-install:
- ${BSD_INSTALL_MAN} ${WRKSRC}/pub/NetBSD/NetBSD-current/src/share/man/man7/packages.7 ${PREFIX}/man/man7
+ ${BSD_INSTALL_MAN} ${WRKSRC}/packages.7 ${PREFIX}/man/man7
.include "../../mk/bsd.pkg.mk"
diff --git a/pkgtools/pkgmanpages/files/md5 b/pkgtools/pkgmanpages/files/md5
index ba95e2122d7..078053cc922 100644
--- a/pkgtools/pkgmanpages/files/md5
+++ b/pkgtools/pkgmanpages/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 1999/12/15 21:36:13 windsor Exp $
+$NetBSD: md5,v 1.3 1999/12/22 15:45:06 agc Exp $
-MD5 (packages.7.tar.gz) = 23c9c2bc1848f2f1d1a6751f15b763c0
+MD5 (pkgmanpages-19991222.tar.gz) = ee0961c2ef3c8bc5d6d469c14c4f9115