openbsd-ports/archivers/gtar/Makefile
naddy bcb59cf546 Update to 1.13.94:
- Added support for POSIX.1-2001 and ustar archive formats.
- Various option cleanups.
- New message translations.
- Bug fixes.

Switch to .bz2 distfile since we already depend on bzip2 anyway.
2004-04-22 02:56:10 +00:00

40 lines
827 B
Makefile

# $OpenBSD: Makefile,v 1.28 2004/04/22 02:56:10 naddy Exp $
COMMENT= "GNU version of the traditional tar archiver"
DISTNAME= tar-1.13.94
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tar.bz2
MODULES= 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"
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
LDSTATIC= -static
.else
LDSTATIC=
.endif
.include <bsd.port.mk>