aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/lgeneral/Makefile13
-rw-r--r--games/lgeneral/pkg-plist3
2 files changed, 9 insertions, 7 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile
index 0a51c9bc6f6..bc22ac55804 100644
--- a/games/lgeneral/Makefile
+++ b/games/lgeneral/Makefile
@@ -13,13 +13,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \
MAINTAINER= ports@FreeBSD.org
COMMENT= Turn-based strategy engine inspired by Panzer General
-LICENSE= GPLv2
-
-CONFLICTS= lgeneral-data-[0-9]*
-
-OPTIONS_DEFINE= SOUND NLS DOCS
-OPTIONS_DEFAULT= SOUND
-SOUND_DESC= Enable sound support
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_SDL= sdl
USES= gmake
@@ -29,6 +24,10 @@ USE_CSTD= gnu89
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= SOUND NLS DOCS
+OPTIONS_DEFAULT= SOUND
+SOUND_DESC= Enable sound support
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOUND}
diff --git a/games/lgeneral/pkg-plist b/games/lgeneral/pkg-plist
index bc4bd64ce61..0e0402ce877 100644
--- a/games/lgeneral/pkg-plist
+++ b/games/lgeneral/pkg-plist
@@ -216,3 +216,6 @@ share/applications/lgeneral.desktop
%%NLS%%share/locale/en/LC_MESSAGES/lgeneral.mo
%%NLS%%share/locale/en/LC_MESSAGES/pg.mo
share/pixmaps/lgeneral48.png
+@dir %%DATADIR%%/terrain
+@dir %%DATADIR%%/music
+@dir %%DATADIR%%/ai_modules