pkgsrc/pkgtools/digest/Makefile
joerg 49de1e68ab Revert libncompat usage and kill the use of snprintf in whirlpool and
tiger instead. Also kill bogus NULL pointer handling in both algorithms:
passing null pointers as buffers (when len != 0) or context is a serious
programming error and should result in a segfault. Bump version to
20060826. OK agc@
2006-08-29 13:43:11 +00:00

43 lines
1,007 B
Makefile

# $NetBSD: Makefile,v 1.51 2006/08/29 13:43:11 joerg Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
DISTNAME?= digest-${VERSION}
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER?= agc@NetBSD.org
HOMEPAGE?= http://www.NetBSD.org/Documentation/software/packages.html
COMMENT?= Message digest wrapper utility
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
NO_PKGTOOLS_REQD_CHECK= yes
NO_CHECKSUM= yes
NO_MTREE= yes
# XXX Remove the following line after pkgsrc/bootstrap is up and
# XXX running.
USE_NATIVE_GCC= yes
.include "../../mk/bsd.prefs.mk"
VERSION!= ${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \
${FILESDIR}/configure
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
pre-install:
-@${MKDIR} ${PKG_DBDIR}
do-test:
@${ECHO} "No news is good news"
@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh
@${ECHO} "All tests completed"
.include "../../mk/bsd.pkg.mk"