aboutsummaryrefslogtreecommitdiff
path: root/security/libtasn1/Makefile
blob: aadda2bf7b91093bd9a10a894c2a1c59f663d492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:	libtasn1
# Date created:		15 Nov 2002
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=	libtasn1
PORTVERSION=	0.2.17
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNUPG} \
	http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/
MASTER_SITE_SUBDIR=	alpha/gnutls/libtasn1

MAINTAINER=	novel@FreeBSD.org
COMMENT=	ASN.1 structure parser library

INSTALLS_SHLIB=	yes
USE_GNOME=	pkgconfig
USE_AUTOTOOLS=	libtool:15
USE_REINPLACE=	yes
USE_GETOPT_LONG=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

DOCS=		AUTHORS NEWS README THANKS doc/TODO \
		doc/libtasn1.html doc/libtasn1.pdf doc/libtasn1.ps
INFO=		libtasn1
MAN3=		\
		asn1_array2tree.3 \
		asn1_check_version.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_structure_from_oid.3 \
		asn1_number_of_elements.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>