blob: 6d5482642bfa0667b8699b37f9223edf8ba245d7 (
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
64
65
66
67
68
69
70
71
72
73
|
# 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>
|