freebsd-ports/security/opencdk/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: opencdk
# Date created: 15 Jan 2003
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= opencdk
PORTVERSION= 0.6.6
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/
2003-02-15 12:08:29 +01:00
MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
MAINTAINER= novel@FreeBSD.org
2003-02-21 14:28:59 +01:00
COMMENT= Open Crypto Development Kit
LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig ltverhack
2007-01-02 11:35:46 +01:00
USE_LDCONFIG= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
2007-01-02 11:35:46 +01:00
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>