2003-01-18 22:30:53 +01:00
|
|
|
# New ports collection makefile for: opencdk
|
|
|
|
# Date created: 15 Jan 2003
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opencdk
|
2007-10-31 06:40:39 +01:00
|
|
|
PORTVERSION= 0.6.0
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2003-09-26 13:20:29 +02:00
|
|
|
PORTEPOCH= 1
|
2003-01-18 22:30:53 +01:00
|
|
|
CATEGORIES= security
|
2006-02-03 11:09:56 +01:00
|
|
|
MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/ \
|
|
|
|
${MASTER_SITE_GNUPG} \
|
2003-01-18 22:30:53 +01:00
|
|
|
http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
|
2003-01-25 00:13:30 +01:00
|
|
|
ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
|
2003-01-28 23:15:48 +01:00
|
|
|
ftp://ftp.gnutls.org/pub/gnutls/opencdk/
|
2003-02-15 12:08:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2005-08-30 16:28:29 +02:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Open Crypto Development Kit
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2008-02-28 22:47:06 +01:00
|
|
|
LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-10-31 06:40:39 +01:00
|
|
|
USE_GNOME= pkgconfig ltverhack
|
2007-01-02 11:35:46 +01:00
|
|
|
USE_LDCONFIG= yes
|
2007-10-31 06:40:39 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-25 00:13:30 +01:00
|
|
|
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2004-03-10 06:24:59 +01:00
|
|
|
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2007-01-02 11:35:46 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2003-01-18 22:30:53 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-09-26 13:20:29 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
|
2003-01-18 22:30:53 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-03-10 06:24:59 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
2003-01-18 22:30:53 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|