openbsd-ports/archivers/gtar/Makefile

46 lines
1009 B
Makefile
Raw Normal View History

2009-09-10 11:30:21 -04:00
# $OpenBSD: Makefile,v 1.50 2009/09/10 15:30:21 naddy Exp $
COMMENT= GNU version of the traditional tape archiver
1998-01-14 04:23:59 -05:00
DISTNAME= tar-1.22
2009-09-10 11:30:21 -04:00
PKGNAME= g${DISTNAME}p0
1998-01-14 04:23:59 -05:00
CATEGORIES= archivers
2004-05-15 08:57:34 -04:00
HOMEPAGE= http://www.gnu.org/software/tar/
1998-01-14 04:23:59 -05:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
1998-01-14 04:23:59 -05:00
# GPLv3+
2000-03-30 17:07:39 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
2004-05-15 08:57:34 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
EXTRACT_SUFX= .tar.bz2
2004-08-03 05:24:50 -04:00
MODULES= devel/gettext
2009-09-10 11:30:21 -04:00
RUN_DEPENDS= ::archivers/bzip2 ::archivers/lzop ::archivers/xz
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDSTATIC}" \
2004-05-15 08:57:34 -04:00
DEFAULT_ARCHIVE=/dev/rst0 \
DEFAULT_RMT_COMMAND=/etc/rmt
2006-11-13 11:25:10 -05:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
LDSTATIC= -static
MODULES=
BUILD_DEPENDS= :gettext->=0.17:devel/gettext
2007-10-22 12:33:41 -04:00
CONFIGURE_ENV+= SHLIBEXT=""
.else
LDSTATIC=
WANTLIB= c
.endif
1998-01-14 04:23:59 -05:00
.include <bsd.port.mk>