aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libarchive/Makefile
blob: 85a2e48b2f3de6b33923441287fbd3d68334a921 (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
141
142
# New ports collection makefile for:    libarchive
# Date created:     23 March 2004
# Whom:         Greg Lewis <glewis@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   libarchive
PORTVERSION=    2004.07.14
CATEGORIES= archivers
MASTER_SITES=   http://people.freebsd.org/~kientzle/libarchive/src/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/./-/g}
EXTRACT_SUFX=   .tgz

MAINTAINER= glewis@FreeBSD.org
COMMENT=    Library to create and read several streaming archive formats

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_FLAGS+=    INCLUDEDIR=${PREFIX}/include \
        LIBDIR=${PREFIX}/lib \
        MANDIR=${PREFIX}/man/man

PLIST_FILES=    include/archive.h \
        include/archive_entry.h \
        lib/libarchive.a
.if !defined(NOPROFILE)
PLIST_FILES+=   lib/libarchive_p.a
.endif

MANCOMPRESSED=  yes
MAN3=       archive.3 \
        archive_compression.3 \
        archive_compression_name.3 \
        archive_entry.3 \
        archive_entry_acl_add_entry.3 \
        archive_entry_acl_add_entry_w.3 \
        archive_entry_acl_clear.3 \
        archive_entry_acl_count.3 \
        archive_entry_acl_next.3 \
        archive_entry_acl_next_w.3 \
        archive_entry_acl_reset.3 \
        archive_entry_acl_text_w.3 \
        archive_entry_clear.3 \
        archive_entry_clone.3 \
        archive_entry_copy_fflags_text_w.3 \
        archive_entry_copy_gname_w.3 \
        archive_entry_copy_hardlink_w.3 \
        archive_entry_copy_pathname_w.3 \
        archive_entry_copy_stat.3 \
        archive_entry_copy_symlink_w.3 \
        archive_entry_copy_uname_w.3 \
        archive_entry_fflags.3 \
        archive_entry_fflags_text.3 \
        archive_entry_free.3 \
        archive_entry_gid.3 \
        archive_entry_gname.3 \
        archive_entry_gname_w.3 \
        archive_entry_hardlink.3 \
        archive_entry_ino.3 \
        archive_entry_mode.3 \
        archive_entry_mtime.3 \
        archive_entry_mtime_nsec.3 \
        archive_entry_new.3 \
        archive_entry_pathname.3 \
        archive_entry_pathname_w.3 \
        archive_entry_rdev.3 \
        archive_entry_rdevmajor.3 \
        archive_entry_rdevminor.3 \
        archive_entry_set_fflags.3 \
        archive_entry_set_gid.3 \
        archive_entry_set_gname.3 \
        archive_entry_set_hardlink.3 \
        archive_entry_set_link.3 \
        archive_entry_set_mode.3 \
        archive_entry_set_pathname.3 \
        archive_entry_set_rdevmajor.3 \
        archive_entry_set_rdevminor.3 \
        archive_entry_set_size.3 \
        archive_entry_set_symlink.3 \
        archive_entry_set_uid.3 \
        archive_entry_set_uname.3 \
        archive_entry_size.3 \
        archive_entry_stat.3 \
        archive_entry_symlink.3 \
        archive_entry_uid.3 \
        archive_entry_uname.3 \
        archive_entry_uname_w.3 \
        archive_errno.3 \
        archive_error_string.3 \
        archive_format.3 \
        archive_format_name.3 \
        archive_read.3 \
        archive_read_data.3 \
        archive_read_data_block.3 \
        archive_read_data_into_buffer.3 \
        archive_read_data_into_fd.3 \
        archive_read_data_skip.3 \
        archive_read_extract.3 \
        archive_read_extract_set_progress_callback.3 \
        archive_read_finish.3 \
        archive_read_new.3 \
        archive_read_next_header.3 \
        archive_read_open.3 \
        archive_read_open_fd.3 \
        archive_read_open_file.3 \
        archive_read_set_bytes_per_block.3 \
        archive_read_support_compression_all.3 \
        archive_read_support_compression_bzip2.3 \
        archive_read_support_compression_compress.3 \
        archive_read_support_compression_gzip.3 \
        archive_read_support_compression_none.3 \
        archive_read_support_format_all.3 \
        archive_read_support_format_cpio.3 \
        archive_read_support_format_tar.3 \
        archive_util.3 \
        archive_write.3 \
        archive_write_data.3 \
        archive_write_finish.3 \
        archive_write_header.3 \
        archive_write_new.3 \
        archive_write_open.3 \
        archive_write_open_fd.3 \
        archive_write_open_file.3 \
        archive_write_prepare.3 \
        archive_write_set_bytes_in_last_block.3 \
        archive_write_set_bytes_per_block.3 \
        archive_write_set_callbacks.3 \
        archive_write_set_compression_bzip2.3 \
        archive_write_set_compression_gzip.3 \
        archive_write_set_format_pax.3 \
        archive_write_set_format_shar.3 \
        archive_write_set_format_ustar.3 \
        libarchive.3
MAN5=       libarchive-formats.5 \
        tar.5

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502103
IGNORE=         is in the base system
.endif

.include <bsd.port.post.mk>