svn commit: r331234 - head/games/bumprace
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 22 08:03:01 UTC 2013
Author: amdmi3
Date: Tue Oct 22 08:03:00 2013
New Revision: 331234
URL: http://svnweb.freebsd.org/changeset/ports/331234
Log:
- Support staging
- Convert USE_GMAKE to USES
Deleted:
head/games/bumprace/pkg-plist
Modified:
head/games/bumprace/Makefile
Modified: head/games/bumprace/Makefile
==============================================================================
--- head/games/bumprace/Makefile Tue Oct 22 08:02:54 2013 (r331233)
+++ head/games/bumprace/Makefile Tue Oct 22 08:03:00 2013 (r331234)
@@ -12,26 +12,24 @@ MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Simple arcade racing game
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer image
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= FAQ README
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+PORTDATA= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
-.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}/FAQ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list