summaryrefslogtreecommitdiff
path: root/pkgtools/pkgmanpages/Makefile
diff options
context:
space:
mode:
authoragc <agc>1999-12-22 15:45:06 +0000
committeragc <agc>1999-12-22 15:45:06 +0000
commitaa74b02869c6ed1d4066c92875f711a39579325f (patch)
tree4b5bad1248311fb865433d410ef3709f4e2bc50b /pkgtools/pkgmanpages/Makefile
parent2b1db94d896f2bb8003ccb9e090d97c42012e6ee (diff)
downloadpkgsrc-aa74b02869c6ed1d4066c92875f711a39579325f.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.
Diffstat (limited to 'pkgtools/pkgmanpages/Makefile')
-rw-r--r--pkgtools/pkgmanpages/Makefile15
1 files changed, 10 insertions, 5 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"