openbsd-ports/security/opencdk/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

2011-07-06 17:09:55 -04:00
# $OpenBSD: Makefile,v 1.13 2011/07/06 21:09:55 ajacoutot Exp $
COMMENT= Open Crypto Development Kit
VERSION= 0.6.6
DISTNAME= opencdk-${VERSION}
CATEGORIES= security
SHARED_LIBS= opencdk 9.0 # .10.5
2011-07-06 17:09:55 -04:00
REVISION= 0
HOMEPAGE= http://www.gnutls.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-07-06 17:09:55 -04:00
WANTLIB= gpg-error z gcrypt>=13
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/opencdk/ \
http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/opencdk/
EXTRACT_SUFX= .tar.bz2
2011-07-06 17:09:55 -04:00
MODULES= devel/gettext
2010-11-20 12:22:40 -05:00
LIB_DEPENDS= security/libgcrypt
2005-12-25 06:15:33 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-libgcrypt-prefix=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opencdk
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opencdk
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/opencdk
${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html \
2003-10-11 22:13:41 -04:00
${PREFIX}/share/doc/opencdk
${INSTALL_DATA} ${WRKSRC}/tests/*.c \
2003-10-11 22:13:41 -04:00
${PREFIX}/share/examples/opencdk
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg \
2003-10-11 22:13:41 -04:00
${PREFIX}/share/examples/opencdk
.include <bsd.port.mk>