openbsd-ports/security/gnutls/Makefile
2007-09-15 23:29:57 +00:00

54 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2007/09/15 23:29:58 merdely Exp $
COMMENT= GNU Transport Layer Security library
DISTNAME= gnutls-1.0.25
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
SHARED_LIBS= gnutls-extra 12.25 \
gnutls-openssl 12.25 \
gnutls 12.25
MODGNU_SHARED_LIBS= gnutls-extra '' \
gnutls-openssl '' \
gnutls ''
LIBgnutls-extra_ALIAS= realgnutls_extra
LIBgnutls-openssl_ALIAS=gnutls_openssl
LIBgnutls_ALIAS= realgnutls
HOMEPAGE= http://www.gnutls.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c gpg-error intl z
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \
http://josefsson.org/gnutls/releases/ \
http://ftp.linux.it/pub/mirrors/gnupg/gnutls/
MODULES= converters/libiconv
LIB_DEPENDS= gcrypt.>=12::security/libgcrypt \
opencdk.>=8::security/opencdk
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-included-libtasn1 \
--with-included-libcfg \
--with-included-lzo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnutls
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnutls
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnutls
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c \
${PREFIX}/share/examples/gnutls
.include <bsd.port.mk>