File:  [cvs.NetBSD.org] / pkgsrc / security / mhash / Makefile
Revision 1.31: download - view: text, annotated - select for diffs
Sat Jul 9 06:38:55 2016 UTC (8 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, HEAD
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.

# $NetBSD: Makefile,v 1.31 2016/07/09 06:38:55 wiz Exp $

DISTNAME=	mhash-0.9.9
PKGREVISION=	8
CATEGORIES=	security devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mhash/}
EXTRACT_SUFX=	.tar.bz2

PATCHFILES+=	mhash-freebsd-patches-20081108.diff.gz
PATCH_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mhash.sourceforge.net/
COMMENT=	Hash algorithms library

USE_TOOLS+=		gmake perl autoconf
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

INSTALLATION_DIRS=	include/mutils

POLLUTING_SYMS=		MD4Final MD4Init MD4Transform MD4Update \
			MD5Final MD5Init MD5Transform MD5Update

SUBST_CLASSES+=		ns
SUBST_STAGE.ns=		pre-configure
SUBST_MESSAGE.ns=	Prefixing symbols to avoid libc namespace pollution
SUBST_FILES.ns=		lib/*.c lib/*.h src/*.c src/*.h
.for sym in ${POLLUTING_SYMS}
SUBST_SED.ns+=		-e 's,\(${sym}\),mhash_\1,g'
.endfor

pre-configure:
	cd ${WRKSRC} && autoconf -v -f

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>