freebsd-ports/security/libtasn1/Makefile
Roman Bogorodskiy d2074f36ae Update to 0.3.6.
2006-08-24 13:32:01 +00:00

73 lines
1.8 KiB
Makefile

# New ports collection makefile for: libtasn1
# Date created: 15 Nov 2002
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= libtasn1
PORTVERSION= 0.3.6
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
http://josefsson.org/gnutls/releases/libtasn1/
MASTER_SITE_SUBDIR= alpha/gnutls/libtasn1
MAINTAINER= novel@FreeBSD.org
COMMENT= ASN.1 structure parser library
INSTALLS_SHLIB= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
USE_GETOPT_LONG= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --infodir="${PREFIX}/info" --mandir="${PREFIX}/man/"
DOCS= AUTHORS NEWS README THANKS doc/TODO \
doc/libtasn1.html doc/libtasn1.pdf doc/libtasn1.ps
INFO= libtasn1
MAN1= asn1Parser.1 \
asn1Coding.1 \
asn1Decoding.1
MAN3= \
asn1_array2tree.3 \
asn1_bit_der.3 \
asn1_check_version.3 \
asn1_copy_node.3 \
asn1_create_element.3 \
asn1_delete_element.3 \
asn1_delete_structure.3 \
asn1_der_coding.3 \
asn1_der_decoding.3 \
asn1_der_decoding_element.3 \
asn1_der_decoding_startEnd.3 \
asn1_expand_any_defined_by.3 \
asn1_expand_octet_string.3 \
asn1_find_node.3 \
asn1_find_structure_from_oid.3 \
asn1_get_bit_der.3 \
asn1_get_length_der.3 \
asn1_get_octet_der.3 \
asn1_get_tag_der.3 \
asn1_length_der.3 \
asn1_number_of_elements.3 \
asn1_octet_der.3 \
asn1_parser2array.3 \
asn1_parser2tree.3 \
asn1_print_structure.3 \
asn1_read_tag.3 \
asn1_read_value.3 \
asn1_write_value.3 \
libtasn1_perror.3 \
libtasn1_strerror.3
post-patch:
@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
${WRKSRC}/lib/Makefile.in
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>