1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/archivers/gtar/Makefile
Christian Weisgerber b579519222 Fix message catalog directories.
Submitted by:	kris	(pointyhat)
2007-06-13 15:04:22 +00:00

53 lines
1.0 KiB
Makefile

# New ports collection makefile for: gtar
# Date created: Sa 6 Jun 1998 10:24:51 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= tar
PORTVERSION= 1.17
PORTREVISION= 1
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tar archiver
INFO= tar
USE_BZIP2= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g \
--infodir=${PREFIX}/${INFO_PATH}
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib ${LDSTATIC}' \
DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
.if defined(WANT_STATIC)
LDSTATIC= -static
.else
LDSTATIC=
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
# avoid triggering auto framework rebuilds
post-patch:
@${TOUCH} -r ${WRKSRC}/configure.orig ${WRKSRC}/configure
test: build
@cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>