freebsd-ports/security/opencdk/Makefile

48 lines
1.3 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.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security
2006-02-03 11:09:56 +01:00
MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/ \
${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
ftp://ftp.gnutls.org/pub/gnutls/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
2008-02-28 22:47:06 +01:00
LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig ltverhack
2007-01-02 11:35:46 +01:00
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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>