aboutsummaryrefslogtreecommitdiff
path: root/security/opencryptoki/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-07-31 15:45:20 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-07-31 15:45:20 +0000
commitf6342437c763534242d77f573dbf9fb9c6258490 (patch)
treecb9416fc0e435e34df1d93bf9fac92e737281b0a /security/opencryptoki/Makefile
parent8d7aef65fc57bd92ddfbbda970d811be6629082f (diff)
downloadports-f6342437c763534242d77f573dbf9fb9c6258490.tar.gz
ports-f6342437c763534242d77f573dbf9fb9c6258490.zip
Notes
Diffstat (limited to 'security/opencryptoki/Makefile')
-rw-r--r--security/opencryptoki/Makefile35
1 files changed, 15 insertions, 20 deletions
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
index 10f838efe923..30cbf9303889 100644
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -7,7 +7,7 @@ PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT= Open PKCS\#11 implementation library
LICENSE= CPL
@@ -15,25 +15,13 @@ LICENSE_NAME= Common Public License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers
+LIB_DEPENDS= tspi:${PORTSDIR}/security/trousers
-USE_BZIP2= YES
USES= gmake
+USE_BZIP2= YES
USE_LDCONFIG= YES
USE_AUTOTOOLS= autoconf libtool automake
-
-USE_RC_SUBR= pkcsslotd
-SUB_FILES= pkg-message
-SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
-
-MAN1= pkcs11_startup.1 pkcsconf.1
-MAN5= pk_config_data.5
-MAN7= opencryptoki.7
-MAN8= pkcsslotd.8
-
-USERS= _pkcs11
-GROUPS= _pkcs11
-
+HAS_CONFIGURE= YES
CONFIGURE_ARGS= --enable-swtok --enable-tpmtok \
--disable-crtok --disable-aeptok \
--disable-ccatok --disable-bcomtok \
@@ -43,11 +31,18 @@ CONFIGURE_ARGS= --enable-swtok --enable-tpmtok \
--localstatedir=${PREFIX}/var \
--with-pkcs11user=${USERS} \
--with-pkcs11group=${GROUPS}
+CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+USE_RC_SUBR= pkcsslotd
+SUB_FILES= pkg-message
+SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
+USERS= _pkcs11
+GROUPS= _pkcs11
-.include <bsd.port.pre.mk>
-
-CFLAGS+= -I${LOCALBASE}/include
+MAN1= pkcs11_startup.1 pkcsconf.1
+MAN5= pk_config_data.5
+MAN7= opencryptoki.7
+MAN8= pkcsslotd.8
run-autotools: run-autotools-autoreconf
@@ -58,4 +53,4 @@ post-install:
@cd ${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>