pkgsrc/security/opencdk/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2014/01/01 11:52:02 wiz Exp $
DISTNAME= opencdk-0.6.6
PKGREVISION= 2
CATEGORIES= security devel
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/attic/opencdk/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnutls.org/
COMMENT= Open Crypto Development Kit
2010-02-19 21:16:40 +01:00
LICENSE= gnu-gpl-v2
2004-02-25 19:20:06 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
NOT_FOR_COMPILER= xlc
REPLACE_PERL= doc/gdoc
EGDIR= ${PREFIX}/share/examples/opencdk
HTMLDIR= ${PREFIX}/share/doc/html/opencdk
PKGCONFIG_OVERRIDE= src/opencdk.pc.in
INSTALLATION_DIRS= ${HTMLDIR} ${EGDIR}
2006-11-05 18:31:09 +01:00
2010-01-16 12:23:03 +01:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LIBS+= -lnsl
.endif
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}
2004-02-10 01:20:29 +01:00
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.2.2
2004-02-10 01:20:29 +01:00
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"