From owner-svn-ports-head@FreeBSD.ORG Fri Oct 4 15:36:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 65F4A96A; Fri, 4 Oct 2013 15:36:37 +0000 (UTC) (envelope-from sunpoet@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 52D672488; Fri, 4 Oct 2013 15:36:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r94Fabtx051736; Fri, 4 Oct 2013 15:36:37 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r94FaaV8051730; Fri, 4 Oct 2013 15:36:36 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310041536.r94FaaV8051730@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 4 Oct 2013 15:36:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329327 - in head/sysutils/moreutils: . files 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: Fri, 04 Oct 2013 15:36:37 -0000 Author: sunpoet Date: Fri Oct 4 15:36:36 2013 New Revision: 329327 URL: http://svnweb.freebsd.org/changeset/ports/329327 Log: - Support STAGEDIR Added: head/sysutils/moreutils/pkg-plist (contents, props changed) Modified: head/sysutils/moreutils/Makefile head/sysutils/moreutils/files/patch-Makefile Modified: head/sysutils/moreutils/Makefile ============================================================================== --- head/sysutils/moreutils/Makefile Fri Oct 4 15:33:10 2013 (r329326) +++ head/sysutils/moreutils/Makefile Fri Oct 4 15:36:36 2013 (r329327) @@ -16,56 +16,40 @@ RUN_DEPENDS= p5-IPC-Run>=0:${PORTSDIR}/d OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES +OPTIONS_SUB= yes ALL_TARGET= bins USES= perl5 WRKSRC= ${WRKDIR}/${PORTNAME} -MANCOMPRESSED= no -PLIST_FILES= bin/chronic \ - bin/combine \ - bin/errno \ - bin/ifne \ - bin/isutf8 \ - bin/lckdo \ - bin/mispipe \ - bin/pee \ - bin/sponge \ - bin/ts \ - bin/vidir \ - bin/vipe \ - bin/zrun +MANPAGES_ALL_TARGET= mans -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MMANPAGES} -ALL_TARGET+= mans -CANNED_MAN1= errno.1 \ +CANNED_MANPAGES=errno.1 \ ifne.1 \ isutf8.1 \ lckdo.1 \ mispipe.1 \ pee.1 \ sponge.1 -MAN1= chronic.1 \ +MANPAGES= chronic.1 \ combine.1 \ ts.1 \ vidir.1 \ vipe.1 \ zrun.1 \ - ${CANNED_MAN1} -.endif + ${CANNED_MANPAGES} + +.include post-patch: @${REINPLACE_CMD} -e 's|share/xml/docbook/schema/dtd/|local/share/xml/docbook/|' ${WRKSRC}/*.docbook .if ${PORT_OPTIONS:MMANPAGES} - @cd ${FILESDIR}/ && ${CP} ${CANNED_MAN1} ${WRKSRC}/ + @cd ${FILESDIR}/ && ${CP} ${CANNED_MANPAGES} ${WRKSRC}/ .endif post-install: .if ${PORT_OPTIONS:MMANPAGES} - cd ${WRKSRC}/ && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1/ + cd ${WRKSRC}/ && ${INSTALL_MAN} ${MANPAGES} ${STAGEDIR}${PREFIX}/man/man1/ .endif .include Modified: head/sysutils/moreutils/files/patch-Makefile ============================================================================== --- head/sysutils/moreutils/files/patch-Makefile Fri Oct 4 15:33:10 2013 (r329326) +++ head/sysutils/moreutils/files/patch-Makefile Fri Oct 4 15:36:36 2013 (r329327) @@ -1,6 +1,6 @@ --- Makefile.orig 2012-06-06 01:55:53.000000000 +0800 +++ Makefile 2013-02-24 13:23:52.068205829 +0800 -@@ -1,60 +1,38 @@ +@@ -1,14 +1,17 @@ -BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel errno +BINS=isutf8 ifne pee sponge mispipe lckdo errno PERLSCRIPTS=vidir vipe ts combine zrun chronic @@ -23,13 +23,9 @@ clean: rm -f $(BINS) $(MANS) dump.c errnos.h errno.o - install: -- mkdir -p $(DESTDIR)$(PREFIX)/bin -- $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin -- install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin -+ mkdir -p $(PREFIX)/bin -+ $(INSTALL_BIN) $(BINS) $(PREFIX)/bin -+ install $(PERLSCRIPTS) $(PREFIX)/bin +@@ -17,44 +20,19 @@ + $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin + install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 - install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 Added: head/sysutils/moreutils/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/moreutils/pkg-plist Fri Oct 4 15:36:36 2013 (r329327) @@ -0,0 +1,26 @@ +bin/chronic +bin/combine +bin/errno +bin/ifne +bin/isutf8 +bin/lckdo +bin/mispipe +bin/pee +bin/sponge +bin/ts +bin/vidir +bin/vipe +bin/zrun +%%MANPAGES%%man/man1/chronic.1.gz +%%MANPAGES%%man/man1/combine.1.gz +%%MANPAGES%%man/man1/errno.1.gz +%%MANPAGES%%man/man1/ifne.1.gz +%%MANPAGES%%man/man1/isutf8.1.gz +%%MANPAGES%%man/man1/lckdo.1.gz +%%MANPAGES%%man/man1/mispipe.1.gz +%%MANPAGES%%man/man1/pee.1.gz +%%MANPAGES%%man/man1/sponge.1.gz +%%MANPAGES%%man/man1/ts.1.gz +%%MANPAGES%%man/man1/vidir.1.gz +%%MANPAGES%%man/man1/vipe.1.gz +%%MANPAGES%%man/man1/zrun.1.gz