summaryrefslogtreecommitdiff
path: root/security/libmultigest/Makefile
blob: 249930d11198728b5f3b36c4a6be44ab27639411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.1.1.1 2014/03/05 05:14:42 agc Exp $

DISTNAME=	libmultigest-${VERSION}
CATEGORIES=	security
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	http://www.NetBSD.org/
COMMENT=	Multiple, concatenated digest value calculation library
LICENSE=	modified-bsd

FILESDIR=	${.CURDIR}/../../security/multigest/files

GNU_CONFIGURE=	yes
.if !defined(BOOTSTRAP)
USE_LIBTOOL=	yes
.endif
AUTO_MKDIRS=	yes

.include "../../mk/bsd.prefs.mk"

VERSION!=	${AWK} '/\#define.*MULTIGEST_H_/ {print $$3}' ${FILESDIR}/multigest.h

do-extract:
	${CP} -R ${FILESDIR} ${WRKSRC}
.if defined(BOOTSTRAP)
	cd ${WRKSRC} && ${CP} Makefile.lib.in Makefile.in
.else
	cd ${WRKSRC} && ${CP} Makefile.libtool.in Makefile.in
.endif

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