38bc631dc7
* some new options, e.g. -J for lzma compression and --lzop, * transformation scope flags, * bug fixes Testsuite patches from upstream CVS.
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.48 2008/12/30 17:37:05 naddy Exp $
|
|
|
|
COMMENT= GNU version of the traditional tape archiver
|
|
|
|
DISTNAME= tar-1.21
|
|
PKGNAME= g${DISTNAME}
|
|
CATEGORIES= archivers
|
|
HOMEPAGE= http://www.gnu.org/software/tar/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# GPLv3
|
|
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
|
|
BUILD_DEPENDS= ::devel/autoconf/${AUTOCONF_VERSION} # autom4te
|
|
RUN_DEPENDS= ::archivers/bzip2 ::archivers/lzma ::archivers/lzop
|
|
|
|
AUTOCONF_VERSION=2.61
|
|
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
|
|
|
|
MAKE_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
|
|
|
FLAVORS= static
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mstatic}
|
|
LDSTATIC= -static
|
|
MODULES=
|
|
BUILD_DEPENDS= :gettext->=0.16.1:devel/gettext
|
|
CONFIGURE_ENV+= SHLIBEXT=""
|
|
.else
|
|
LDSTATIC=
|
|
WANTLIB= c
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|