Annotation of pkgsrc/pkgtools/digest/Makefile, Revision 1.10
1.10 ! agc 1: # $NetBSD: Makefile,v 1.9 2001/03/12 06:21:58 fredb Exp $
1.1 agc 2: #
3: # When adding new digest algorithms, please use rmd160 as the template,
4: # and bump the VERSION definition.
5:
6: DISTNAME= digest-${VERSION}
7: CATEGORIES= pkgtools
8: MASTER_SITES= # empty
9: DISTFILES= # empty
10:
11: MAINTAINER= agc@netbsd.org
12: HOMEPAGE= http://www.netbsd.org/Documentation/software/packages.html
13: COMMENT= message digest wrapper utility
14:
1.10 ! agc 15: VERSION= 20010307
1.1 agc 16:
17: EXTRACT_ONLY= # empty
18: WRKSRC= ${WRKDIR}
19: NO_CHECKSUM= # defined
1.3 tron 20: MANCOMPRESSED_IF_MANZ= YES
1.4 kim 21: PLIST_SRC= ${WRKDIR}/PLIST
22: BUILD_DEFS+= MANINSTALL
1.1 agc 23:
1.8 tron 24: MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
25: MAKE_ENV+= VERSION="${VERSION}"
1.6 tron 26:
27: .include "../../mk/bsd.prefs.mk"
1.8 tron 28:
29: .if (${OPSYS} == SunOS)
30: MAKE_ENV+= NETBSD_COMPATIBLE=YES
31: .endif
1.6 tron 32:
1.5 tron 33: post-extract:
1.6 tron 34: @for FILE in Makefile digest.c digest.1 \
1.1 agc 35: md5c.c md5.h md5hl.c \
36: rmd160.c rmd160.h rmd160hl.c \
37: sha1.c sha1.h sha1hl.c \
1.10 ! agc 38: sha2.c sha2.h sha2hl.c \
1.1 agc 39: ; do \
1.6 tron 40: ${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \
1.4 kim 41: done
1.5 tron 42:
1.4 kim 43: pre-install:
44: @${RM} -f ${PLIST_SRC}
45: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
1.10 ! agc 46: @if [ -n "${MANINSTALL:Mcatinstall}" ]; then \
! 47: ${ECHO} man/cat1/digest.0 >> ${PLIST_SRC}; \
! 48: fi
! 49: @if [ -n "${MANINSTALL:Mmaninstall}" ]; then \
! 50: ${ECHO} man/man1/digest.1 >> ${PLIST_SRC}; \
! 51: fi
1.1 agc 52:
53: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>