aboutsummaryrefslogtreecommitdiff
path: root/devel/libfreefare/Makefile
blob: 55375832ed741022d9717c72a4610cf7304807f6 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Created by: Romain Tartiere <romain@blogreen.org>
# $FreeBSD$

PORTNAME=	libfreefare
PORTVERSION=	0.3.1
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://nfc-tools.googlecode.com/files/ \
		http://romain.blogreen.org/distfiles/

MAINTAINER=	romain@FreeBSD.org
COMMENT=	MIFARE contactless tag access library

LIB_DEPENDS=	nfc.1:${PORTSDIR}/devel/libnfc

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USES=	pathfix gmake pkgconfig

MAN3=		freefare.3 freefare_error.3 mad.3 mifare_application.3 \
		mifare_classic.3 mifare_desfire.3 mifare_desfire_aid.3 \
		mifare_desfire_key.3  mifare_ultralight.3 tlv.3

MLINKS=		freefare.3 freefare_free_tags.3 \
		freefare.3 freefare_get_tag_friendly_name.3 \
		freefare.3 freefare_get_tag_type.3 \
		freefare.3 freefare_get_tag_uid.3 \
		freefare.3 freefare_get_tags.3 \
		freefare_error.3 freefare_perror.3 \
		freefare_error.3 freefare_strerror.3 \
		freefare_error.3 freefare_strerror_r.3 \
		mad.3 mad_free.3 \
		mad.3 mad_get_aid.3 \
		mad.3 mad_get_card_publisher_sector.3 \
		mad.3 mad_get_version.3 \
		mad.3 mad_new.3 \
		mad.3 mad_read.3 \
		mad.3 mad_set_aid.3 \
		mad.3 mad_set_card_publisher_sector.3 \
		mad.3 mad_set_version.3 \
		mad.3 mad_write.3 \
		mifare_application.3 mifare_application_alloc.3 \
		mifare_application.3 mifare_application_find.3 \
		mifare_application.3 mifare_application_free.3 \
		mifare_application.3 mifare_application_read.3 \
		mifare_application.3 mifare_application_write.3 \
		mifare_classic.3 mifare_classic_authenticate.3 \
		mifare_classic.3 mifare_classic_connect.3 \
		mifare_classic.3 mifare_classic_decrement.3 \
		mifare_classic.3 mifare_classic_disconnect.3 \
		mifare_classic.3 mifare_classic_format_sector.3 \
		mifare_classic.3 mifare_classic_get_data_block_permission.3 \
		mifare_classic.3 mifare_classic_get_trailer_block_permission.3 \
		mifare_classic.3 mifare_classic_get_uid.3 \
		mifare_classic.3 mifare_classic_increment.3 \
		mifare_classic.3 mifare_classic_init_value.3 \
		mifare_classic.3 mifare_classic_read.3 \
		mifare_classic.3 mifare_classic_read_value.3 \
		mifare_classic.3 mifare_classic_restore.3 \
		mifare_classic.3 mifare_classic_trailer_block.3 \
		mifare_classic.3 mifare_classic_transfer.3 \
		mifare_classic.3 mifare_classic_write.3 \
		mifare_desfire.3 mifare_desfire_3k3des_key_new.3 \
		mifare_desfire.3 mifare_desfire_3k3des_key_new_with_version.3 \
		mifare_desfire.3 mifare_desfire_abort_transaction.3 \
		mifare_desfire.3 mifare_desfire_aes_key_new.3 \
		mifare_desfire.3 mifare_desfire_aes_key_new_with_version.3 \
		mifare_desfire.3 mifare_desfire_aid_get_aid.3 \
		mifare_desfire.3 mifare_desfire_authenticate.3 \
		mifare_desfire.3 mifare_desfire_authenticate_aes.3 \
		mifare_desfire.3 mifare_desfire_authenticate_iso.3 \
		mifare_desfire.3 mifare_desfire_change_file_settings.3 \
		mifare_desfire.3 mifare_desfire_change_key.3 \
		mifare_desfire.3 mifare_desfire_change_key_settings.3 \
		mifare_desfire.3 mifare_desfire_clear_record_file.3 \
		mifare_desfire.3 mifare_desfire_commit_transaction.3 \
		mifare_desfire.3 mifare_desfire_connect.3 \
		mifare_desfire.3 mifare_desfire_create_application.3 \
		mifare_desfire.3 mifare_desfire_create_backup_data_file.3 \
		mifare_desfire.3 mifare_desfire_create_cyclic_record_file.3 \
		mifare_desfire.3 mifare_desfire_create_linear_record_file.3 \
		mifare_desfire.3 mifare_desfire_create_std_data_file.3 \
		mifare_desfire.3 mifare_desfire_create_value_file.3 \
		mifare_desfire.3 mifare_desfire_credit.3 \
		mifare_desfire.3 mifare_desfire_credit_ex.3 \
		mifare_desfire.3 mifare_desfire_debit.3 \
		mifare_desfire.3 mifare_desfire_debit_ex.3 \
		mifare_desfire.3 mifare_desfire_delete_application.3 \
		mifare_desfire.3 mifare_desfire_delete_file.3 \
		mifare_desfire.3 mifare_desfire_disconnect.3 \
		mifare_desfire.3 mifare_desfire_format_picc.3 \
		mifare_desfire.3 mifare_desfire_free_application_ids.3 \
		mifare_desfire.3 mifare_desfire_free_mem.3 \
		mifare_desfire.3 mifare_desfire_get_application_ids.3 \
		mifare_desfire.3 mifare_desfire_get_card_uid.3 \
		mifare_desfire.3 mifare_desfire_get_file_ids.3 \
		mifare_desfire.3 mifare_desfire_get_file_settings.3 \
		mifare_desfire.3 mifare_desfire_get_key_settings.3 \
		mifare_desfire.3 mifare_desfire_get_key_version.3 \
		mifare_desfire.3 mifare_desfire_get_value.3 \
		mifare_desfire.3 mifare_desfire_get_value_ex.3 \
		mifare_desfire.3 mifare_desfire_get_version.3 \
		mifare_desfire.3 mifare_desfire_last_pcd_error.3 \
		mifare_desfire.3 mifare_desfire_last_picc_error.3 \
		mifare_desfire.3 mifare_desfire_limited_credit.3 \
		mifare_desfire.3 mifare_desfire_limited_credit_ex.3 \
		mifare_desfire.3 mifare_desfire_read_data.3 \
		mifare_desfire.3 mifare_desfire_read_data_ex.3 \
		mifare_desfire.3 mifare_desfire_read_records.3 \
		mifare_desfire.3 mifare_desfire_read_records_ex.3 \
		mifare_desfire.3 mifare_desfire_select_application.3 \
		mifare_desfire.3 mifare_desfire_set_ats.3 \
		mifare_desfire.3 mifare_desfire_set_configuration.3 \
		mifare_desfire.3 mifare_desfire_set_default_key.3 \
		mifare_desfire.3 mifare_desfire_write_data.3 \
		mifare_desfire.3 mifare_desfire_write_data_ex.3 \
		mifare_desfire.3 mifare_desfire_write_record.3 \
		mifare_desfire.3 mifare_desfire_write_record_ex.3 \
		mifare_desfire_aid.3 mifare_desfire_aid_new.3 \
		mifare_desfire_aid.3 mifare_desfire_aid_new_with_mad_aid.3 \
		mifare_desfire_key.3 mifare_desfire_3des_key_new.3 \
		mifare_desfire_key.3 mifare_desfire_3des_key_new_with_version.3 \
		mifare_desfire_key.3 mifare_desfire_des_key_new.3 \
		mifare_desfire_key.3 mifare_desfire_des_key_new_with_version.3 \
		mifare_desfire_key.3 mifare_desfire_key_free.3 \
		mifare_desfire_key.3 mifare_desfire_key_get_version.3 \
		mifare_desfire_key.3 mifare_desfire_key_set_version.3 \
		mifare_ultralight.3 mifare_ultralight_connect.3 \
		mifare_ultralight.3 mifare_ultralight_disconnect.3 \
		mifare_ultralight.3 mifare_ultralight_get_uid.3 \
		mifare_ultralight.3 mifare_ultralight_read.3 \
		mifare_ultralight.3 mifare_ultralight_write.3 \
		mifare_ultralight.3 mifare_ultralightc_authenticate.3 \
		tlv.3 tlv_decode.3 \
		tlv.3 tlv_encode.3

# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT=	limitw:1,even

.include <bsd.port.mk>