From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 06:42:57 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 ESMTP id F323D9B; Wed, 30 Oct 2013 06:42:56 +0000 (UTC) (envelope-from danilo@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 E0FB327FE; Wed, 30 Oct 2013 06:42:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9U6guUe048177; Wed, 30 Oct 2013 06:42:56 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9U6gutk048176; Wed, 30 Oct 2013 06:42:56 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310300642.r9U6gutk048176@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 30 Oct 2013 06:42:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332079 - head/games/cavezofphear 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.14 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: Wed, 30 Oct 2013 06:42:57 -0000 Author: danilo Date: Wed Oct 30 06:42:56 2013 New Revision: 332079 URL: http://svnweb.freebsd.org/changeset/ports/332079 Log: - Convert USE_GMAKE to USES - Add stage support Modified: head/games/cavezofphear/Makefile Modified: head/games/cavezofphear/Makefile ============================================================================== --- head/games/cavezofphear/Makefile Wed Oct 30 06:35:35 2013 (r332078) +++ head/games/cavezofphear/Makefile Wed Oct 30 06:42:56 2013 (r332079) @@ -18,28 +18,23 @@ OPTIONS_DEFINE= DOCS BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= phear PORTDOCS= ChangeLog README README-EDITOR TODO -NO_STAGE= yes -.include - post-patch: @${REINPLACE_CMD} -e 's|\./data|${DATADIR}/data|' ${WRKSRC}/src/chk.c @${REINPLACE_CMD} -e 's|\./phear|phear|' ${WRKSRC}/README-EDITOR do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/phear ${PREFIX}/bin - ${MKDIR} ${DATADIR} - @(cd ${WRKSRC}; ${COPYTREE_SHARE} data ${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/phear ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}; ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include