1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Support stage

Convert to USES=libtool
Use modern LIB_DEPENDS
This commit is contained in:
Baptiste Daroussin 2014-03-02 22:50:08 +00:00
parent 3d40df0f42
commit 333abb8a80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346829
2 changed files with 10 additions and 16 deletions

View File

@ -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>

View File

@ -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