2016-02-26 10:41:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.39 2016/02/26 09:41:06 jperkin Exp $
|
2003-05-14 05:16:23 +02:00
|
|
|
|
2007-11-29 17:35:12 +01:00
|
|
|
DISTNAME= opencdk-0.6.6
|
2014-01-01 12:52:02 +01:00
|
|
|
PKGREVISION= 2
|
2003-05-14 05:16:23 +02:00
|
|
|
CATEGORIES= security devel
|
2010-09-01 13:31:42 +02:00
|
|
|
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/attic/opencdk/
|
2007-06-06 08:11:16 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-05-14 05:16:23 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-05-14 05:16:23 +02:00
|
|
|
HOMEPAGE= http://www.gnutls.org/
|
|
|
|
COMMENT= Open Crypto Development Kit
|
2010-02-19 21:16:40 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2003-05-14 05:16:23 +02:00
|
|
|
|
2005-08-30 16:28:46 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-09-30 14:21:40 +02:00
|
|
|
TEST_TARGET= check
|
2003-05-14 05:16:23 +02:00
|
|
|
|
2004-12-19 01:19:18 +01:00
|
|
|
NOT_FOR_COMPILER= xlc
|
|
|
|
|
2003-05-14 05:16:23 +02:00
|
|
|
REPLACE_PERL= doc/gdoc
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/opencdk
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/opencdk
|
|
|
|
|
2006-10-23 09:33:42 +02:00
|
|
|
PKGCONFIG_OVERRIDE= src/opencdk.pc.in
|
|
|
|
|
2007-11-08 20:43:37 +01:00
|
|
|
INSTALLATION_DIRS= ${HTMLDIR} ${EGDIR}
|
2006-11-05 18:31:09 +01:00
|
|
|
|
2016-02-26 10:41:05 +01:00
|
|
|
LIBS.SunOS+= -lnsl
|
2010-01-16 12:23:03 +01:00
|
|
|
|
2003-05-14 05:16:23 +02:00
|
|
|
pre-install:
|
2006-11-05 18:31:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DESTDIR}${HTMLDIR}
|
|
|
|
cd ${WRKSRC}/tests && ${INSTALL_DATA} *.gpg *.c ${DESTDIR}${EGDIR}
|
2003-05-14 05:16:23 +02:00
|
|
|
|
2004-02-10 01:20:29 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2007-06-06 08:11:16 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.2.2
|
2004-02-10 01:20:29 +01:00
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
2003-05-14 05:16:23 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|