svn commit: r330574 - head/games/toycars

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Oct 16 23:56:44 UTC 2013


Author: amdmi3
Date: Wed Oct 16 23:56:44 2013
New Revision: 330574
URL: http://svnweb.freebsd.org/changeset/ports/330574

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES

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

Modified: head/games/toycars/Makefile
==============================================================================
--- head/games/toycars/Makefile	Wed Oct 16 23:55:07 2013	(r330573)
+++ head/games/toycars/Makefile	Wed Oct 16 23:56:44 2013	(r330574)
@@ -10,30 +10,30 @@ MASTER_SITES=	SF
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Physics-based 2D racing game
 
-LIB_DEPENDS=	fltk:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
 
+USES=		gmake
 USE_SDL=	image sdl
 USE_GL=		gl glu
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-PORTDOCS=	README
+PLIST_FILES=	bin/toycars \
+		bin/toycars_track_editor \
+		bin/toycars_vehicle_editor
+PORTDOCS=	*
+PORTDATA=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 post-extract:
 	@${RM} ${WRKSRC}/data/.*Store
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list