dbf64c8d6b
- Some new flags, e.g. -J for lzma compression and --lzop. - transformation scope flags Testsuite fixes from upstream CVS. * Drop workarounds for no longer supported FreeBSD releases.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: gtar
|
|
# Date created: Sa 6 Jun 1998 10:24:51 CEST
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tar
|
|
PORTVERSION= 1.21
|
|
CATEGORIES= archivers sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= g
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= GNU version of the traditional tape archiver
|
|
|
|
# Actually we need lzma(1), but not the one in archivers/lzma.
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/lzcat:${PORTSDIR}/archivers/lzmautils
|
|
RUN_DEPENDS+= lzop:${PORTSDIR}/archivers/lzop
|
|
|
|
INFO= tar
|
|
|
|
USE_AUTOTOOLS= autoconf:262:env # autom4te
|
|
USE_BZIP2= yes
|
|
USE_ICONV= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-prefix=g
|
|
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
|
|
LDFLAGS='-L${LOCALBASE}/lib ${LDSTATIC}' \
|
|
DEFAULT_ARCHIVE=/dev/sa0 \
|
|
DEFAULT_RMT_COMMAND=/etc/rmt
|
|
|
|
.if defined(WANT_STATIC)
|
|
LDSTATIC= -static
|
|
.else
|
|
LDSTATIC=
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
|
|
.include <bsd.port.mk>
|