Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 06:42:56 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332079 - head/games/cavezofphear
Message-ID:  <201310300642.r9U6gutk048176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310300642.r9U6gutk048176>