openbsd-ports/security/opencdk/Makefile
margarida 7a4511dd64 Initial import of opencdk-0.4.5
--
OpenCDK (Open Crypto Development Kit) provides basic parts 
of the OpenPGP message format. The aim of the library is 
*not* to replace any available OpenPGP version. There will be 
no real support for key management (sign, revoke, alter 
preferences, etc) and some other parts are only rudimentary
available. The main purpose is to handle and understand 
OpenPGP packets and to use basic operations.

From: Jim Geovedi <jim@corebsd.or.id>
2003-05-02 04:01:25 +00:00

43 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/05/02 04:01:25 margarida Exp $
COMMENT= "Open Crypto Development Kit"
VERSION= 0.4.5
DISTNAME= opencdk-${VERSION}
CATEGORIES= security
HOMEPAGE= http://www.gnutls.org/
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
http://ftp.planetmirror.com/pub/gnupg/alpha/gnutls/opencdk/ \
http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/opencdk/ \
http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/opencdk/
LIB_DEPENDS= gcrypt.6::security/libgcrypt
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
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 \
${PREFIX}/share/doc/opencdk
${INSTALL_DATA} ${WRKSRC}/tests/*.c \
${PREFIX}/share/examples/opencdk
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg \
${PREFIX}/share/examples/opencdk
.include <bsd.port.mk>