diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2012-12-18 21:29:04 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2012-12-18 21:29:04 +0000 |
commit | 6f9014623279a77d6d80ffdef6b3133173953ad1 (patch) | |
tree | 4627c59ede033a99d1414f0fc74ac26cb38968bc /archivers | |
parent | - Update to 3.01a10. For the changes since 3.01a09 see: (diff) |
Convert to OptionsNG and trim Makefile headers.
Notes
Notes:
svn path=/head/; revision=309200
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gcpio/Makefile | 10 | ||||
-rw-r--r-- | archivers/gtar/Makefile | 14 | ||||
-rw-r--r-- | archivers/xz/Makefile | 4 |
3 files changed, 16 insertions, 12 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile index 67633ed95779..b624f80be354 100644 --- a/archivers/gcpio/Makefile +++ b/archivers/gcpio/Makefile @@ -18,7 +18,12 @@ CONFIGURE_ARGS= --program-prefix=g \ --disable-silent-rules \ --with-rmt=/etc/rmt -.if !defined(WITHOUT_NLS) +INFO= cpio +MAN1= gcpio.1 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" @@ -27,9 +32,6 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -INFO= cpio -MAN1= gcpio.1 - regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check 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 diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile index d7242c9022b5..e30092e755a3 100644 --- a/archivers/xz/Makefile +++ b/archivers/xz/Makefile @@ -25,7 +25,9 @@ CONFIGURE_ARGS= --disable-nls # pick up assembly language optimizations CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL} -.if !defined(NOPORTDOCS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install install-dist_docDATA install-dist_examplesDATA .endif |