bcb59cf546
- 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.
40 lines
827 B
Makefile
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>
|