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

39 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2007/09/15 23:29:58 merdely Exp $
COMMENT= Abstract Syntax Notation One structure parser library
VERSION= 0.1.2
DISTNAME= libtasn1-${VERSION}
PKGNAME= ${DISTNAME}p2
CATEGORIES= security
SHARED_LIBS= tasn1 0.2
MODGNU_SHARED_LIBS= tasn1 ''
HOMEPAGE= http://www.gnutls.org/
# LGPL
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/libtasn1/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/attic/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \
http://ftp.planetmirror.com/pub/gnupg/alpha/gnutls/libtasn1/ \
http://sunsite.dk/pub/security/gcrypt/alpha/gnutls/libtasn1/ \
http://ftp.linux.it/pub/mirrors/gnupg/alpha/gnutls/libtasn1/
USE_LIBTOOL= Yes
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/libtasn1
${INSTALL_DATA} ${WRKSRC}/doc/asn1.ps ${PREFIX}/share/doc/libtasn1
.include <bsd.port.mk>