summaryrefslogtreecommitdiff
path: root/doc/guide/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-29 08:55:31 +0000
committerrillig <rillig@pkgsrc.org>2006-05-29 08:55:31 +0000
commitf5a5f1f7548d90921c1f891c5bd4c413a9a59879 (patch)
tree86c89e6c630568eb4aae94316470a81b29293bc9 /doc/guide/Makefile
parent74557ce3a8e7fbc8dd8fa7e9966f83606b582888 (diff)
downloadpkgsrc-f5a5f1f7548d90921c1f891c5bd4c413a9a59879.tar.gz
This package needs a current htdocs-share to produce valid HTML. While
here, fixed some pkglint warnings and set DISTNAME to the package name, banned the htdocs-share*.tar.gz to DISTFILES, where it belongs.
Diffstat (limited to 'doc/guide/Makefile')
-rw-r--r--doc/guide/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/guide/Makefile b/doc/guide/Makefile
index 4948135f843..f047e4e5289 100644
--- a/doc/guide/Makefile
+++ b/doc/guide/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.21 2006/05/10 22:43:51 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2006/05/29 08:55:31 rillig Exp $
#
-DISTNAME= htdocs-share-20060114
-PKGNAME= pkgsrc-guide-${PKGVERSION}
+DISTNAME= pkgsrc-guide-${PKGVERSION}
CATEGORIES= # empty
MASTER_SITES= ${MASTER_SITE_LOCAL}
+DISTFILES= htdocs-share-20060529.tar.gz
MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Documentation/pkgsrc/
@@ -19,8 +19,6 @@ NO_CONFIGURE= yes
NO_MTREE= yes
USE_LANGUAGES= # empty
-WRKSRC= ${WRKDIR}/${PKGNAME}
-
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
DOCDIR= ${PREFIX}/share/doc/pkgsrc
.if exists(/usr/cvs/htdocs)
@@ -47,7 +45,7 @@ _GUIDE_OUTPUTS= ${OUTPUTS}
# be easily modified, should the "lint" phase fail.
pre-extract:
${MKDIR} ${WRKSRC}
- @${LN} -s ${FILESDIR}/* ${WRKSRC}
+ ${LN} -s ${FILESDIR}/* ${WRKSRC}
do-build:
.for _output_ in ${OUTPUTS}
@@ -72,10 +70,10 @@ do-install:
.endif
post-install:
- @${FIND} ${DOCDIR} \( -type f -o -type l \) -print \
+ ${FIND} ${DOCDIR} \( -type f -o -type l \) -print \
| ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
>> ${PLIST_SRC}
- @${FIND} ${DOCDIR} -type d -print \
+ ${FIND} ${DOCDIR} -type d -print \
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}