mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
40 lines
980 B
Makefile
40 lines
980 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opencdk
|
|
PORTVERSION= 0.6.6
|
|
PORTREVISION= 4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/
|
|
MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Open Crypto Development Kit
|
|
|
|
LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= pkgconfig ltverhack
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
|
|
|
|
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|