openbsd-ports/archivers/gtar/Makefile
naddy d07f000718 Update to 1.13.18.
Since the GNU project seems to have abandoned the idea of releases, we might
as well integrate nine months of bug fixes.
2000-12-21 19:38:11 +00:00

38 lines
876 B
Makefile

# $OpenBSD: Makefile,v 1.18 2000/12/21 19:38:11 naddy Exp $
DISTNAME= tar-1.13.18
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
NEED_VERSION= 1.330
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/
LIB_DEPENDS= intl.1::devel/gettext
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
DEFAULT_ARCHIVE="/dev/rst0"
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -static"
.else
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-extract:
@rm -f ${WRKSRC}/doc/tar.info*
.include <bsd.port.mk>