svn commit: r437927 - head/games/bomberclone

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 7 15:26:30 UTC 2017


Author: amdmi3
Date: Fri Apr  7 15:26:29 2017
New Revision: 437927
URL: https://svnweb.freebsd.org/changeset/ports/437927

Log:
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/games/bomberclone/Makefile

Modified: head/games/bomberclone/Makefile
==============================================================================
--- head/games/bomberclone/Makefile	Fri Apr  7 14:26:14 2017	(r437926)
+++ head/games/bomberclone/Makefile	Fri Apr  7 15:26:29 2017	(r437927)
@@ -11,13 +11,14 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Reimplementation of Atomic Bomber Man
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gmake
+USES=		gmake localbase
 USE_SDL=	image mixer sdl
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--target="" --disable-werror
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib -lm
+CONFIGURE_ARGS=	--disable-werror
+
+LIBS+=		-lm
 
 PORTDOCS=	AUTHORS ChangeLog README TODO
 
@@ -33,13 +34,14 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|share/games/${PACKAGE}|share/${PACKAGE}|' \
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} \
-	-e 's|install-data-am: install-bomberclonedocDATA|install-data-am: |' \
+		-e 's|install-data-am: install-bomberclonedocDATA|install-data-am: |' \
 		${WRKSRC}/Makefile.in
 
 post-install:
 	${LN} -sf ${DATADIR}/pixmaps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-head mailing list