53 lines
1.2 KiB
Makefile
Raw Normal View History

2013-03-10 22:28:04 +00:00
# $OpenBSD: Makefile,v 1.70 2013/03/10 22:28:04 espie Exp $
COMMENT= GNU version of the traditional tape archiver
1998-01-14 09:23:59 +00:00
2011-03-15 21:10:13 +00:00
DISTNAME= tar-1.26
2010-07-11 15:57:46 +00:00
PKGNAME= g${DISTNAME}
REVISION= 1
1998-01-14 09:23:59 +00:00
CATEGORIES= archivers
2004-05-15 12:57:34 +00:00
HOMEPAGE= http://www.gnu.org/software/tar/
1998-01-14 09:23:59 +00:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
1998-01-14 09:23:59 +00:00
# GPLv3+
2000-03-30 22:07:39 +00:00
PERMIT_PACKAGE_CDROM= Yes
2000-02-12 08:02:07 +00:00
2004-05-15 12:57:34 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
EXTRACT_SUFX= .tar.xz
2004-08-03 09:24:50 +00:00
MODULES= devel/gettext
2010-03-28 18:35:00 +00:00
# only force dependencies for compressors that have a single-letter option
RUN_DEPENDS= archivers/bzip2 archivers/xz
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDSTATIC}" \
2004-05-15 12:57:34 +00:00
DEFAULT_ARCHIVE=/dev/rst0 \
DEFAULT_RMT_COMMAND=/etc/rmt
2006-11-13 16:25:10 +00:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
# supply result to skip a test that will abort configure if run as root
CONFIGURE_ENV+= gl_cv_func_mknod_works=no
FLAVORS= static
FLAVOR?=
2011-10-17 11:14:11 +00:00
.if ${FLAVOR:Mstatic}
LDSTATIC= -static
MODULES=
2010-11-26 07:07:56 +00:00
BUILD_DEPENDS+= devel/gettext>=0.17
2007-10-22 16:33:41 +00:00
CONFIGURE_ENV+= SHLIBEXT=""
.else
LDSTATIC=
WANTLIB= c
.endif
# Tests 35 56 are known to fail because getcwd(3) fails if the
# parent directory is unreadable.
2013-03-10 22:28:04 +00:00
TEST_DEPENDS= devel/autoconf/2.63
TEST_FLAGS= AUTOCONF_VERSION=2.63
2010-03-28 18:35:00 +00:00
1998-01-14 09:23:59 +00:00
.include <bsd.port.mk>