From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 08:09:05 2013 Return-Path: Delivered-To: svn-ports-all@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 ESMTPS id B6DD7942; Mon, 18 Nov 2013 08:09:05 +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 A685C2544; Mon, 18 Nov 2013 08:09:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAI895pk089890; Mon, 18 Nov 2013 08:09:05 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAI895tS089889; Mon, 18 Nov 2013 08:09:05 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201311180809.rAI895tS089889@svn.freebsd.org> From: Boris Samorodov Date: Mon, 18 Nov 2013 08:09:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334157 - head/textproc/chpp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 08:09:05 -0000 Author: bsam Date: Mon Nov 18 08:09:05 2013 New Revision: 334157 URL: http://svnweb.freebsd.org/changeset/ports/334157 Log: . use new LIB_DEPENDS syntax; . USE_GMAKE -> USES=gmake; . incorporate options; . unmute EXAMPLES installation; . support STAGE. Modified: head/textproc/chpp/Makefile Modified: head/textproc/chpp/Makefile ============================================================================== --- head/textproc/chpp/Makefile Mon Nov 18 07:53:06 2013 (r334156) +++ head/textproc/chpp/Makefile Mon Nov 18 08:09:05 2013 (r334157) @@ -13,9 +13,9 @@ COMMENT= Non-intrusive full-featured tex LICENSE= GPLv2 -LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc +LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc -USE_GMAKE= yes +USES= gmake USE_AUTOTOOLS= autoheader aclocal automake autoconf AUTOMAKE_ARGS= --add-missing --copy --force-missing CONFIGURE_ARGS= --libdir=${PREFIX}/share @@ -25,7 +25,8 @@ LDFLAGS+= -L${LOCALBASE}/lib INFO= chpp -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + .include .if ${ARCH} != "i386" && ${ARCH} != "amd64" @@ -49,15 +50,11 @@ post-patch: .endfor post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS NEWS README - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include