Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 09:01:31 +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: r443615 - head/games/battalion
Message-ID:  <201706150901.v5F91VMc073186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun 15 09:01:31 2017
New Revision: 443615
URL: https://svnweb.freebsd.org/changeset/ports/443615

Log:
  - Add LICENSE
  - Add missing dependency
  - Update WWW
  - Switch to options helpers
  - Switch to USES=localbase

Modified:
  head/games/battalion/Makefile
  head/games/battalion/pkg-descr

Modified: head/games/battalion/Makefile
==============================================================================
--- head/games/battalion/Makefile	Thu Jun 15 08:20:52 2017	(r443614)
+++ head/games/battalion/Makefile	Thu Jun 15 09:01:31 2017	(r443615)
@@ -13,13 +13,20 @@ EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Monsters, explosions, destruction game for X Window System
 
-USES=		tar:bzip2
+LICENSE=	batallion
+LICENSE_NAME=	batallion license
+LICENSE_FILE=	${WRKSRC}/README
+# non-commercial and prohibits distribution of modified versions
+LICENSE_PERMS=	dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+
+USES=		tar:bzip2 localbase
 USE_GL=		gl glu
+USE_XORG=	x11
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"
 
-CFLAGS+=	-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
+CFLAGS+=	-I${LOCALBASE}/include/X11 \
 		-DLINUXVERSION -DLINUXAUDIO
-LIBS+=		-L${LOCALBASE}/lib -lX11 -lm
+LIBS+=		-lX11 -lm
 
 PLIST_FILES=	bin/${PORTNAME} man/man6/${PORTNAME}.6.gz
 PORTDATA=	*
@@ -54,8 +61,9 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/SOUNDS/*.au ${STAGEDIR}${DATADIR}/SOUNDS
 	@${MKDIR} ${STAGEDIR}${DATADIR}/TEXTURES
 	${INSTALL_DATA} ${WRKSRC}/TEXTURES/*.tex ${STAGEDIR}${DATADIR}/TEXTURES
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/*.gif ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/battalion/pkg-descr
==============================================================================
--- head/games/battalion/pkg-descr	Thu Jun 15 08:20:52 2017	(r443614)
+++ head/games/battalion/pkg-descr	Thu Jun 15 09:01:31 2017	(r443615)
@@ -2,4 +2,4 @@ Monsters, explosions, destruction game for X Window Sy
 You are a giant monster in a small city, being
 attacked by the military.
 
-WWW: http://www.evl.uic.edu/aej/AndyBattalion.html
+WWW: https://www.evl.uic.edu/aej/AndyBattalion.html



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