summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-03-04 11:57:10 +0000
committerseb <seb@pkgsrc.org>2002-03-04 11:57:10 +0000
commit442ccd73e81f0525c018f7ea2e26c06758a804e4 (patch)
tree1d176ee47d0c0e99522ec56412fb72b088c61124 /pkgtools/digest
parent9e721c102575339fa160c8f2d1f955cb2eafcd37 (diff)
downloadpkgsrc-442ccd73e81f0525c018f7ea2e26c06758a804e4.tar.gz
Use PLIST filtering based on MANINSTALL's content: pre-install is not
needed anymore, manpage related entries added to PLIST.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/Makefile13
-rw-r--r--pkgtools/digest/PLIST4
2 files changed, 4 insertions, 13 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile
index 375d0be4c71..f0526c29528 100644
--- a/pkgtools/digest/Makefile
+++ b/pkgtools/digest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2001/08/07 22:14:52 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2002/03/04 11:57:10 seb Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
@@ -18,7 +18,6 @@ EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_CHECKSUM= # defined
MANCOMPRESSED_IF_MANZ= YES
-PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
@@ -41,16 +40,6 @@ post-extract:
${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \
done
-pre-install:
- @${RM} -f ${PLIST_SRC}
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- @if [ -n "${MANINSTALL:Mcatinstall}" ]; then \
- ${ECHO} man/cat1/digest.0 >> ${PLIST_SRC}; \
- fi
- @if [ -n "${MANINSTALL:Mmaninstall}" ]; then \
- ${ECHO} man/man1/digest.1 >> ${PLIST_SRC}; \
- fi
-
test:
@${ECHO} "No news is good news"
@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh
diff --git a/pkgtools/digest/PLIST b/pkgtools/digest/PLIST
index 13ad007d161..b63d3f0b71d 100644
--- a/pkgtools/digest/PLIST
+++ b/pkgtools/digest/PLIST
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:18:58 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/03/04 11:57:10 seb Exp $
bin/digest
+man/cat1/digest.0
+man/man1/digest.1