aboutsummaryrefslogtreecommitdiffstats
path: root/security/pkcs11-dump/Makefile
blob: 18e48dbfadcf1a43cf7aedbee26a8dfa3b5f499a (plain) (blame)
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
# New ports collection makefile for:    pkcs11-dump
# Date created:         4 Apr 2011
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pkcs11-dump
PORTVERSION=    0.3.4
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= ale@FreeBSD.org
COMMENT=    Allow dumping PKCS\#11 token content

PROJECTHOST=    pkcs11-tools

USE_BZIP2=  yes
USE_OPENSSL=    yes
GNU_CONFIGURE=  yes

CONFIGURE_ENV=  OPENSSL_CFLAGS="-I${OPENSSLINC}" \
        OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"

PLIST_FILES=    bin/pkcs11-dump

MAN1=       pkcs11-dump.1

post-patch:
    @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>