blob: 2ded2ccdc8f6aaa592264f693c1bae89ff4e181b (
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
|
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= tar
PORTVERSION= 1.29
CATEGORIES= archivers sysutils
MASTER_SITES= GNU
PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tape archiver
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
INFO= tar
USES= charsetfix cpe iconv:${STATIC_ARGS} localbase makeinfo tar:xz
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
TEST_DEPENDS= autom4te:devel/autoconf
TEST_TARGET= check
OPTIONS_DEFINE= NLS STATIC
OPTIONS_SUB= yes
NLS_USES= gettext-runtime:${STATIC_ARGS}
NLS_CONFIGURE_ENABLE= nls
STATIC_LDFLAGS= -static
STATIC_CONFIGURE_ENV= SHLIBEXT=""
STATIC_VARS= STATIC_ARGS=build
STATIC_VARS_OFF= STATIC_ARGS=lib
# do not rebuild tar.info
post-patch:
${TOUCH} -r ${WRKSRC}/doc/stamp-vti ${WRKSRC}/configure
.include <bsd.port.mk>
|