diff options
author | kim <kim@pkgsrc.org> | 2001-03-07 23:03:19 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2001-03-07 23:03:19 +0000 |
commit | 4ee988397cf8df451ab3d2b202dd35165d2103ed (patch) | |
tree | d915624ac370f58a055c7567ac1b548400242014 /pkgtools/digest | |
parent | 1a56635ec8267eb588441101b7154cd2424e06d1 (diff) | |
download | pkgsrc-4ee988397cf8df451ab3d2b202dd35165d2103ed.tar.gz |
Fix manual page registration.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r-- | pkgtools/digest/Makefile | 18 | ||||
-rw-r--r-- | pkgtools/digest/pkg/PLIST | 4 |
2 files changed, 18 insertions, 4 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile index cf4f6013977..b2b655900b2 100644 --- a/pkgtools/digest/Makefile +++ b/pkgtools/digest/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/03/07 07:43:00 tron Exp $ +# $NetBSD: Makefile,v 1.4 2001/03/07 23:03:19 kim Exp $ # # When adding new digest algorithms, please use rmd160 as the template, # and bump the VERSION definition. @@ -18,6 +18,8 @@ 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 MAKE_ENV+= CPPFLAGS="${CPPFLAGS} -DVERSION=${VERSION}" @@ -31,4 +33,18 @@ do-configure: ${CP} ${FILESDIR}/$$f ${WRKSRC}; \ done +pre-install: + @${RM} -f ${PLIST_SRC} + @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + @for OPT in ${MANINSTALL} broken-solaris-needs-this; do \ + case $$OPT in \ + catinstall) \ + ${ECHO} man/cat1/digest.0${MANZ:D.gz} >> ${PLIST_SRC}; \ + ;; \ + maninstall) \ + ${ECHO} man/man1/digest.1${MANZ:D.gz} >> ${PLIST_SRC}; \ + ;; \ + esac; \ + done + .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/digest/pkg/PLIST b/pkgtools/digest/pkg/PLIST index 6a91198fbd5..4ebfb6824ec 100644 --- a/pkgtools/digest/pkg/PLIST +++ b/pkgtools/digest/pkg/PLIST @@ -1,4 +1,2 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/03/07 23:03:19 kim Exp $ bin/digest -man/man1/digest.1 -man/cat1/digest.0 |