2000-09-27 16:11:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2000/09/27 20:11:37 brad Exp $
|
1998-01-14 04:23:59 -05:00
|
|
|
|
2000-09-27 16:11:37 -04:00
|
|
|
DISTNAME= tar-1.13.17
|
|
|
|
PKGNAME= g${DISTNAME}
|
1998-01-14 04:23:59 -05:00
|
|
|
CATEGORIES= archivers
|
2000-09-27 16:11:37 -04:00
|
|
|
NEED_VERSION= 1.330
|
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/
|
1998-01-14 04:23:59 -05:00
|
|
|
|
2000-09-27 16:11:37 -04:00
|
|
|
LIB_DEPENDS= intl.1::devel/gettext
|
2000-06-10 16:22:13 -04:00
|
|
|
|
2000-09-27 16:11:37 -04:00
|
|
|
MAINTAINER= ports@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
|
|
|
|
2000-06-10 16:22:13 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-09-27 16:11:37 -04:00
|
|
|
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
|
2000-04-09 03:17:23 -04:00
|
|
|
|
1999-12-31 19:42:12 -05:00
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/doc/tar.info*
|
|
|
|
|
1998-01-14 04:23:59 -05:00
|
|
|
.include <bsd.port.mk>
|