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
|
2008-06-19 07:00:10 +02:00
|
|
|
PORTVERSION= 0.6.6
|
2011-07-03 13:40:49 +02:00
|
|
|
PORTREVISION= 3
|
2003-09-26 13:20:29 +02:00
|
|
|
PORTEPOCH= 1
|
2003-01-18 22:30:53 +01:00
|
|
|
CATEGORIES= security
|
2008-06-19 07:00:10 +02:00
|
|
|
MASTER_SITES= http://josefsson.org/gnutls/releases/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
|
|
|
|
2011-07-03 13:40:49 +02:00
|
|
|
LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt
|
2003-01-18 22:30:53 +01:00
|
|
|
|
2008-06-19 07:00:10 +02:00
|
|
|
USE_BZIP2= yes
|
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
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
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>
|