svn commit: r329261 - head/games/vor

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Oct 4 02:17:29 UTC 2013


Author: amdmi3
Date: Fri Oct  4 02:17:29 2013
New Revision: 329261
URL: http://svnweb.freebsd.org/changeset/ports/329261

Log:
  - Support staging
  - Convert USE_GMAKE to USES

Deleted:
  head/games/vor/pkg-plist
Modified:
  head/games/vor/Makefile

Modified: head/games/vor/Makefile
==============================================================================
--- head/games/vor/Makefile	Fri Oct  4 02:15:48 2013	(r329260)
+++ head/games/vor/Makefile	Fri Oct  4 02:17:29 2013	(r329261)
@@ -11,12 +11,14 @@ MASTER_SITES=	http://qualdan.com/vor/ \
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Dodge the rocks until you die
 
+USES=		gmake
 USE_SDL=	mixer image sdl
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
-PORTDOCS=	README
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	*
+PORTDATA=	*
 
 DESKTOP_ENTRIES="Variations on Rockdodger" \
 		"Dodge the rocks until you die" \
@@ -25,15 +27,14 @@ DESKTOP_ENTRIES="Variations on Rockdodge
 		"Game;ArcadeGame;" \
 		false
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list