openbsd-ports/archivers/gtar/Makefile
2003-05-24 01:33:19 +00:00

42 lines
928 B
Makefile

# $OpenBSD: Makefile,v 1.27 2003/05/24 01:38:08 jolan Exp $
COMMENT= "GNU version of the traditional tar archiver"
DISTNAME= tar-1.13.25
PKGNAME= g${DISTNAME}p1
CATEGORIES= archivers
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/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
.include <bsd.port.mk>