diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-02 22:50:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-02 22:50:08 +0000 |
commit | 333abb8a805fcdb36d3bd906f516dae83f07fdc7 (patch) | |
tree | 73275a22996f2ea151869dcff9c9f632b12c9695 /security/opencdk | |
parent | 3d40df0f422a9d43a50a34dbf671759740aa07e4 (diff) | |
download | ports-333abb8a805fcdb36d3bd906f516dae83f07fdc7.tar.gz ports-333abb8a805fcdb36d3bd906f516dae83f07fdc7.zip |
Support stage
Convert to USES=libtool
Use modern LIB_DEPENDS
Notes
Notes:
svn path=/head/; revision=346829
Diffstat (limited to 'security/opencdk')
-rw-r--r-- | security/opencdk/Makefile | 25 | ||||
-rw-r--r-- | security/opencdk/pkg-plist | 1 |
2 files changed, 10 insertions, 16 deletions
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile index f8716ab2de59..c472e6495e11 100644 --- a/security/opencdk/Makefile +++ b/security/opencdk/Makefile @@ -12,30 +12,23 @@ MASTER_SITE_SUBDIR= alpha/gnutls/opencdk MAINTAINER= novel@FreeBSD.org COMMENT= Open Crypto Development Kit -LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt +OPTIONS_DEFINE= DOCS + +LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt USE_BZIP2= yes GNU_CONFIGURE= yes -USES= pkgconfig -USE_GNOME= ltverhack +USES= libtool pathfix pkgconfig USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE} DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \ - ${WRKSRC}/src/Makefile.in - post-install: - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/*.c ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/security/opencdk/pkg-plist b/security/opencdk/pkg-plist index 7ac6b2278ccb..7e64a1f487d6 100644 --- a/security/opencdk/pkg-plist +++ b/security/opencdk/pkg-plist @@ -4,6 +4,7 @@ lib/libopencdk.a lib/libopencdk.la lib/libopencdk.so lib/libopencdk.so.10 +lib/libopencdk.so.10.0.6 libdata/pkgconfig/opencdk.pc %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/NEWS |