From owner-svn-ports-head@FreeBSD.ORG Tue Dec 10 21:08:32 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 A5D442FE; Tue, 10 Dec 2013 21:08:32 +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 924EA10AA; Tue, 10 Dec 2013 21:08:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBAL8WON020812; Tue, 10 Dec 2013 21:08:32 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBAL8WFP020811; Tue, 10 Dec 2013 21:08:32 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312102108.rBAL8WFP020811@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 10 Dec 2013 21:08:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336115 - head/devel/bcpp 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 21:08:32 -0000 Author: bapt Date: Tue Dec 10 21:08:32 2013 New Revision: 336115 URL: http://svnweb.freebsd.org/changeset/ports/336115 Log: Support stage Modified: head/devel/bcpp/Makefile Modified: head/devel/bcpp/Makefile ============================================================================== --- head/devel/bcpp/Makefile Tue Dec 10 21:06:44 2013 (r336114) +++ head/devel/bcpp/Makefile Tue Dec 10 21:08:32 2013 (r336115) @@ -8,7 +8,7 @@ MASTER_SITES= ftp://invisible-island.net EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A utility similar to indent for C++ code +COMMENT= Utility similar to indent for C++ code OPTIONS_DEFINE= DOCS @@ -17,24 +17,16 @@ MAKEFILE= makefile CFLAGS+= -DBCPP_CONFIG_DIR=\\\"${PREFIX}/etc/${PORTNAME}\\\" -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/code/bcpp.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/code/${PORTNAME}.cfg \ - ${PREFIX}/etc/${PORTNAME}.cfg.sample -.if !exists(${PREFIX}/etc/${PORTNAME}.cfg) - cd ${PREFIX}/etc && ${CP} -p ${PORTNAME}.cfg.sample ${PORTNAME}.cfg -.endif -.if ${PORT_OPTIONS:MDOCS} - @@${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${DOCSDIR} -.endif + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${STAGEDIR}${DOCSDIR} .include