1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/archivers/gtar/Makefile
Christian Weisgerber bf55779e24 Update to 1.28. Noteworthy changes in this release:
* New checkpoint action: totals
* Extended checkpoint format specification.
* New option --one-top-level
* New option --sort
* New exclusion options
* Manpages
2014-08-06 19:21:24 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= tar
PORTVERSION= 1.28
CATEGORIES= archivers sysutils
MASTER_SITES= GNU
PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tape archiver
LICENSE= GPLv3
INFO= tar
USES= iconv:${STATIC_ARGS} tar:xz charsetfix makeinfo
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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
OPTIONS_DEFINE= NLS STATIC
OPTIONS_SUB= yes
NLS_USES= gettext:${STATIC_ARGS}
NLS_CONFIGURE_ENABLE= nls
STATIC_LDFLAGS= -static
STATIC_CONFIGURE_ENV= SHLIBEXT=""
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSTATIC}
STATIC_ARGS= build
.else
STATIC_ARGS= lib
.endif
# Tests 161 163 are known to fail because path resolution of ".."
# in a removed directory fails.
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.mk>