diff options
author | naddy <naddy@FreeBSD.org> | 2012-12-19 05:29:04 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2012-12-19 05:29:04 +0800 |
commit | 99792bf69f2ed09776c61d695f35765bc1d808c5 (patch) | |
tree | 4627c59ede033a99d1414f0fc74ac26cb38968bc /archivers/gtar/Makefile | |
parent | 261619a0e978c712af51c213eaeb1154e8d275c7 (diff) | |
download | freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.tar.gz freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.tar.zst freebsd-ports-gnome-99792bf69f2ed09776c61d695f35765bc1d808c5.zip |
Convert to OptionsNG and trim Makefile headers.
Diffstat (limited to 'archivers/gtar/Makefile')
-rw-r--r-- | archivers/gtar/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile index e576eb1be08c..a44b733892c3 100644 --- a/archivers/gtar/Makefile +++ b/archivers/gtar/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gtar -# Date created: Sa 6 Jun 1998 10:24:51 CEST -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# +# Created by: Andreas Klemm <andreas@klemm.gtn.com> # $FreeBSD$ -# PORTNAME= tar PORTVERSION= 1.26 @@ -32,14 +28,18 @@ LDFLAGS+= -L${LOCALBASE}/lib ${LDSTATIC} CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \ DEFAULT_RMT_COMMAND=/etc/rmt -.if defined(WANT_STATIC) +OPTIONS_DEFINE= STATIC + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MSTATIC} LDSTATIC= -static MAKE_ARGS+= LIBINTL='$$(LTLIBINTL)' LIBICONV='$$(LTLIBICONV)' .else LDSTATIC= .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else |