openbsd-ports/archivers/gtar/Makefile
naddy 362a03027a Update to 1.17. Changes in this release:
* Fix archivation of sparse files in posix mode.
* Fix operation of --verify --listed-incremental.
* Fix --occurrence.
* Scope of --transform and --strip-components options.
* End-of-volume script can send the new volume name to tar.
2007-06-10 19:27:18 +00:00

45 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.43 2007/06/10 19:27:18 naddy Exp $
COMMENT= "GNU version of the traditional tar archiver"
DISTNAME= tar-1.17
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
HOMEPAGE= http://www.gnu.org/software/tar/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
RUN_DEPENDS= :bzip2-*:archivers/bzip2
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDSTATIC}" \
DEFAULT_ARCHIVE=/dev/rst0 \
DEFAULT_RMT_COMMAND=/etc/rmt
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
LDSTATIC= -static
MODULES=
BUILD_DEPENDS= :gettext->=0.14.6:devel/gettext
.else
LDSTATIC=
WANTLIB= c
.endif
.include <bsd.port.mk>