- Add LICENSE

- Add missing dependency
- Update WWW
- Switch to options helpers
- Switch to USES=localbase
This commit is contained in:
Dmitry Marakasov 2017-06-15 09:01:31 +00:00
parent f5a8892c92
commit e35d2227ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443615
2 changed files with 13 additions and 5 deletions

View File

@ -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>

View File

@ -2,4 +2,4 @@ Monsters, explosions, destruction game for X Window System.
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