update Sat Jan 16 06:37:00 PST 2010
[pkgsrc.git] / security / opencdk / Makefile
CommitLineData
9a6a8611 1# $NetBSD: Makefile,v 1.32 2010/01/16 11:23:03 tron Exp $
f68d95b3
C
2
3DISTNAME= opencdk-0.6.6
4CATEGORIES= security devel
5MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/opencdk/
6EXTRACT_SUFX= .tar.bz2
7
8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.gnutls.org/
10COMMENT= Open Crypto Development Kit
11
12PKG_INSTALLATION_TYPES= overwrite pkgviews
13PKG_DESTDIR_SUPPORT= user-destdir
14
15USE_LIBTOOL= yes
16GNU_CONFIGURE= yes
17TEST_TARGET= check
18
19NOT_FOR_COMPILER= xlc
20
21REPLACE_PERL= doc/gdoc
22
23EGDIR= ${PREFIX}/share/examples/opencdk
24HTMLDIR= ${PREFIX}/share/doc/html/opencdk
25
26PKGCONFIG_OVERRIDE= src/opencdk.pc.in
27
28INSTALLATION_DIRS= ${HTMLDIR} ${EGDIR}
29
9a6a8611
C
30.include "../../mk/bsd.prefs.mk"
31
32.if ${OPSYS} == "SunOS"
33LIBS+= -lnsl
34.endif
35
f68d95b3
C
36pre-install:
37 ${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DESTDIR}${HTMLDIR}
38 cd ${WRKSRC}/tests && ${INSTALL_DATA} *.gpg *.c ${DESTDIR}${EGDIR}
39
40.include "../../devel/zlib/buildlink3.mk"
41BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.2.2
42.include "../../security/libgcrypt/buildlink3.mk"
43.include "../../mk/bsd.pkg.mk"