From owner-svn-ports-head@FreeBSD.ORG Tue Dec 10 23:01:08 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 ESMTPS id 642138B4; Tue, 10 Dec 2013 23:01:08 +0000 (UTC) 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 35FC018C7; Tue, 10 Dec 2013 23:01:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBAN186E063361; Tue, 10 Dec 2013 23:01:08 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBAN17cB063359; Tue, 10 Dec 2013 23:01:07 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312102301.rBAN17cB063359@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 10 Dec 2013 23:01:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336122 - head/devel/devtodo 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.17 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: Tue, 10 Dec 2013 23:01:08 -0000 Author: bapt Date: Tue Dec 10 23:01:07 2013 New Revision: 336122 URL: http://svnweb.freebsd.org/changeset/ports/336122 Log: Support stage Respect EXAMPLES Modified: head/devel/devtodo/Makefile head/devel/devtodo/pkg-plist Modified: head/devel/devtodo/Makefile ============================================================================== --- head/devel/devtodo/Makefile Tue Dec 10 22:54:55 2013 (r336121) +++ head/devel/devtodo/Makefile Tue Dec 10 23:01:07 2013 (r336122) @@ -14,25 +14,21 @@ CONFLICTS= tdl-[0-9]* todo-[0-9]* GNU_CONFIGURE= yes +OPTIONS_DEFINE= EXAMPLES + # Note: without this define util/regex.c doesn't compile due to redeclaration # of malloc and realloc functions. Adding this define was the simplest # (although not elegant) solution. CFLAGS+= -DSTDC_HEADERS -MAN1= devtodo.1 -MLINKS= devtodo.1 tda.1 devtodo.1 tdd.1 devtodo.1 tde.1 devtodo.1 tdl.1 \ - devtodo.1 tdr.1 devtodo.1 todo.1 -MANCOMPRESSED= no - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's/^\ttest -f.*todorc.*\n//' ${WRKSRC}/doc/Makefile.in post-install: - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for file in scripts.sh scripts.tcsh todorc.example - ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${EXAMPLESDIR} .endfor - ${INSTALL_DATA} ${WRKSRC}/doc/todorc.example ${PREFIX}/etc/todorc.sample + ${INSTALL_DATA} ${WRKSRC}/doc/todorc.example ${STAGEDIR}${PREFIX}/etc/todorc.sample .include Modified: head/devel/devtodo/pkg-plist ============================================================================== --- head/devel/devtodo/pkg-plist Tue Dec 10 22:54:55 2013 (r336121) +++ head/devel/devtodo/pkg-plist Tue Dec 10 23:01:07 2013 (r336122) @@ -5,9 +5,16 @@ bin/tde bin/tdl bin/tdr bin/todo -@unexec if cmp -s %D/etc/todorc %D/etc/todorc.sample; then rm -f %D/etc/todorc; fi etc/todorc.sample -%%EXAMPLESDIR%%/scripts.sh -%%EXAMPLESDIR%%/scripts.tcsh -%%EXAMPLESDIR%%/todorc.example -@dirrm %%EXAMPLESDIR%% +@unexec if cmp -s %D/etc/todorc %D/etc/todorc.sample; then rm -f %D/etc/todorc; fi +man/man1/devtodo.1.gz +man/man1/tda.1.gz +man/man1/tdd.1.gz +man/man1/tde.1.gz +man/man1/tdl.1.gz +man/man1/tdr.1.gz +man/man1/todo.1.gz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts.tcsh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/todorc.example +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%