Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 15:26:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437927 - head/games/bomberclone
Message-ID:  <201704071526.v37FQTaY013595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}
 



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