diff options
author | kim <kim> | 2001-03-07 23:03:19 +0000 |
---|---|---|
committer | kim <kim> | 2001-03-07 23:03:19 +0000 |
commit | f938ef45271c09ede66edc8b204e1780c43eee67 (patch) | |
tree | d915624ac370f58a055c7567ac1b548400242014 /pkgtools/digest/Makefile | |
parent | 459d9268b2a7b3cdbfff200cf609c30a293ef5ed (diff) | |
download | pkgsrc-f938ef45271c09ede66edc8b204e1780c43eee67.tar.gz |
Fix manual page registration.
Diffstat (limited to 'pkgtools/digest/Makefile')
-rw-r--r-- | pkgtools/digest/Makefile | 18 |
1 files changed, 17 insertions, 1 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" |