diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-10 21:51:31 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-10 21:51:31 +0000 |
commit | cb829aa67b67486cc32d2e628e4264fca2b7f94a (patch) | |
tree | 3e95e50ddfade7835d4b6ec1dff430be99c127e1 /security/openssl_tpm_engine | |
parent | 626162dbc0df7fa7b457296529d7a0472242b5f2 (diff) | |
download | ports-cb829aa67b67486cc32d2e628e4264fca2b7f94a.tar.gz ports-cb829aa67b67486cc32d2e628e4264fca2b7f94a.zip |
- Add staging support
- Convert to USES=libtool, new LIB_DEPENDS format
- Remove OPTIONS_DEFAULT, EXAMPLES is on by default
Notes
Notes:
svn path=/head/; revision=361494
Diffstat (limited to 'security/openssl_tpm_engine')
-rw-r--r-- | security/openssl_tpm_engine/Makefile | 20 | ||||
-rw-r--r-- | security/openssl_tpm_engine/pkg-plist | 3 |
2 files changed, 8 insertions, 15 deletions
diff --git a/security/openssl_tpm_engine/Makefile b/security/openssl_tpm_engine/Makefile index e21bff9b0b15..cd9714a5239f 100644 --- a/security/openssl_tpm_engine/Makefile +++ b/security/openssl_tpm_engine/Makefile @@ -3,19 +3,20 @@ PORTNAME= openssl_tpm_engine PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/trousers/OpenSSL%20TPM%20Engine/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= OpenSSL TPM engine LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers -LIB_DEPENDS= tspi:${PORTSDIR}/security/trousers +LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers -USES= gmake -USE_AUTOTOOLS= autoconf libtool +USES= gmake libtool +USE_AUTOTOOLS= autoconf USE_LDCONFIG= yes GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib @@ -24,19 +25,12 @@ SUB_FILES= pkg-message PORTEXAMPLES= openssl.cnf.sample OPTIONS_DEFINE= EXAMPLES -OPTIONS_DEFAULT=EXAMPLES - -NO_STAGE= yes -.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/openssl.cnf.sample post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/openssl.cnf.sample ${EXAMPLESDIR} -.endif - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/openssl.cnf.sample ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/security/openssl_tpm_engine/pkg-plist b/security/openssl_tpm_engine/pkg-plist index 6aad22e0b1a8..f49a0448493c 100644 --- a/security/openssl_tpm_engine/pkg-plist +++ b/security/openssl_tpm_engine/pkg-plist @@ -1,7 +1,6 @@ bin/create_tpm_key -lib/openssl/engines/libtpm.a -lib/openssl/engines/libtpm.la lib/openssl/engines/libtpm.so lib/openssl/engines/libtpm.so.0 +lib/openssl/engines/libtpm.so.0.0.0 @dirrm lib/openssl/engines @dirrm lib/openssl |