aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/battalion/Makefile8
-rw-r--r--games/battalion/pkg-plist38
2 files changed, 6 insertions, 40 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile
index b3051a8cdc56..15306a243321 100644
--- a/games/battalion/Makefile
+++ b/games/battalion/Makefile
@@ -13,14 +13,18 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Monsters, explosions, destruction game for X Window System
-USES= tar:bzip2
-USE_GL= glu
+USES= tar:bzip2
+USE_GL= gl glu
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"
CFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
-DLINUXVERSION -DLINUXAUDIO
LIBS+= -L${LOCALBASE}/lib -lX11 -lm
+PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz
+PORTDATA= *
+PORTDOCS= *
+
OPTIONS_DEFINE= DOCS
post-extract:
diff --git a/games/battalion/pkg-plist b/games/battalion/pkg-plist
deleted file mode 100644
index 290b43364d66..000000000000
--- a/games/battalion/pkg-plist
+++ /dev/null
@@ -1,38 +0,0 @@
-bin/battalion
-man/man6/battalion.6.gz
-%%DATADIR%%/battalion.sho
-%%DATADIR%%/DATA/road.data
-%%DATADIR%%/DATA/tank.data
-%%DATADIR%%/DATA/tree.data
-%%DATADIR%%/MUSIC/1.au
-%%DATADIR%%/MUSIC/2.au
-%%DATADIR%%/SOUNDS/beam.au
-%%DATADIR%%/SOUNDS/boom.au
-%%DATADIR%%/SOUNDS/crash.au
-%%DATADIR%%/SOUNDS/monsterbeam.au
-%%DATADIR%%/SOUNDS/rocket.au
-%%DATADIR%%/SOUNDS/slag.au
-%%DATADIR%%/SOUNDS/tank.au
-%%DATADIR%%/SOUNDS/tech.au
-%%DATADIR%%/TEXTURES/road.tex
-%%DATADIR%%/TEXTURES/screenleft.tex
-%%DATADIR%%/TEXTURES/screenright.tex
-%%DATADIR%%/TEXTURES/treewood.tex
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/bathelp01.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp02.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp03.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp04.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp05.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp06.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp07.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp08.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp09.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp10.gif
-%%PORTDOCS%%%%DOCSDIR%%/bathelp11.gif
-@dirrm %%DATADIR%%/MUSIC
-@dirrm %%DATADIR%%/SOUNDS
-@dirrm %%DATADIR%%/TEXTURES
-@dirrm %%DATADIR%%/DATA
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%