openbsd-ports/archivers/gtar/Makefile

42 lines
939 B
Makefile
Raw Normal View History

2001-09-23 01:32:18 -04:00
# $OpenBSD: Makefile,v 1.24 2001/09/23 05:32:18 brad Exp $
COMMENT= "GNU version of the traditional tar archiver"
1998-01-14 04:23:59 -05:00
DISTNAME= tar-1.13.23
PKGNAME= g${DISTNAME}
1998-01-14 04:23:59 -05:00
CATEGORIES= archivers
2001-09-23 01:32:18 -04:00
NEED_VERSION= 1.460
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
1998-01-14 04:23:59 -05:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
1998-01-14 04:23:59 -05:00
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
2001-09-23 01:32:18 -04:00
MODULES= gettext
RUN_DEPENDS+= :bzip2-*:archivers/bzip2
SEPARATE_BUILD= flavored
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDSTATIC}" \
DEFAULT_ARCHIVE="/dev/rst0" \
MAKEINFO="makeinfo --no-split"
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
LDSTATIC= -static
.else
LDSTATIC=
.endif
1998-01-14 04:23:59 -05:00
.include <bsd.port.mk>