From owner-svn-ports-head@FreeBSD.ORG Mon Sep 23 15:43:52 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 21D15C1C; Mon, 23 Sep 2013 15:43:52 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F4FA25FB; Mon, 23 Sep 2013 15:43:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8NFhpOf091588; Mon, 23 Sep 2013 15:43:51 GMT (envelope-from naddy@svn.freebsd.org) Received: (from naddy@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8NFhppd091586; Mon, 23 Sep 2013 15:43:51 GMT (envelope-from naddy@svn.freebsd.org) Message-Id: <201309231543.r8NFhppd091586@svn.freebsd.org> From: Christian Weisgerber Date: Mon, 23 Sep 2013 15:43:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328015 - head/archivers/gcpio X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2013 15:43:52 -0000 Author: naddy Date: Mon Sep 23 15:43:51 2013 New Revision: 328015 URL: http://svnweb.freebsd.org/changeset/ports/328015 Log: Use stage and options helpers. Modified: head/archivers/gcpio/Makefile head/archivers/gcpio/pkg-plist Modified: head/archivers/gcpio/Makefile ============================================================================== --- head/archivers/gcpio/Makefile Mon Sep 23 15:42:03 2013 (r328014) +++ head/archivers/gcpio/Makefile Mon Sep 23 15:43:51 2013 (r328015) @@ -11,7 +11,6 @@ PKGNAMEPREFIX= g MAINTAINER= naddy@FreeBSD.org COMMENT= GNU cpio copies files to and from archives -NO_STAGE= yes USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g \ @@ -19,18 +18,12 @@ CONFIGURE_ARGS= --program-prefix=g \ --with-rmt=/etc/rmt INFO= cpio -MAN1= gcpio.1 -.include +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check Modified: head/archivers/gcpio/pkg-plist ============================================================================== --- head/archivers/gcpio/pkg-plist Mon Sep 23 15:42:03 2013 (r328014) +++ head/archivers/gcpio/pkg-plist Mon Sep 23 15:43:51 2013 (r328015) @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/gcpio +man/man1/gcpio.1.gz %%NLS%%share/locale/da/LC_MESSAGES/cpio.mo %%NLS%%share/locale/de/LC_MESSAGES/cpio.mo %%NLS%%share/locale/es/LC_MESSAGES/cpio.mo