2013-03-10 22:28:04 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.70 2013/03/10 22:28:04 espie Exp $
|
2001-03-29 15:01:53 +00:00
|
|
|
|
2007-08-25 19:49:01 +00:00
|
|
|
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}
|
2013-02-05 14:49:29 +00:00
|
|
|
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
|
|
|
|
2000-09-27 22:09:34 +00:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1998-01-14 09:23:59 +00:00
|
|
|
|
2009-03-10 14:54:16 +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/}
|
2010-10-28 13:50:30 +00:00
|
|
|
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
|
2010-11-15 00:22:45 +00:00
|
|
|
RUN_DEPENDS= archivers/bzip2 archivers/xz
|
2001-09-15 14:50:08 +00:00
|
|
|
|
2004-04-22 02:56:10 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2011-06-02 17:09:31 +00:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g
|
2007-06-10 19:27:18 +00:00
|
|
|
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
|
2000-09-27 20:11:37 +00:00
|
|
|
|
2010-11-09 16:28:59 +00:00
|
|
|
# supply result to skip a test that will abort configure if run as root
|
|
|
|
CONFIGURE_ENV+= gl_cv_func_mknod_works=no
|
|
|
|
|
2000-09-27 20:11:37 +00:00
|
|
|
FLAVORS= static
|
|
|
|
FLAVOR?=
|
|
|
|
|
2011-10-17 11:14:11 +00:00
|
|
|
.if ${FLAVOR:Mstatic}
|
2001-09-19 17:30:44 +00:00
|
|
|
LDSTATIC= -static
|
2005-07-03 22:42:20 +00:00
|
|
|
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=""
|
2000-09-27 20:11:37 +00:00
|
|
|
.else
|
2001-09-19 17:30:44 +00:00
|
|
|
LDSTATIC=
|
2004-11-21 12:50:32 +00:00
|
|
|
WANTLIB= c
|
2000-09-27 20:11:37 +00:00
|
|
|
.endif
|
2000-04-09 07:17:23 +00:00
|
|
|
|
2010-11-08 16:31:51 +00:00
|
|
|
# Tests 35 56 are known to fail because getcwd(3) fails if the
|
2010-10-28 13:50:30 +00:00
|
|
|
# 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>
|