aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-11-28 19:22:26 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-11-28 19:22:26 +0800
commitd417ca64f83c9255c6b04404d05f3dd0bfdfd614 (patch)
treedfe6dacf83438b004f7b09aedd416a61b338ccf3 /games
parent9fc7a47e6a620916eebf6148053bf36df8bfe081 (diff)
downloadfreebsd-ports-graphics-d417ca64f83c9255c6b04404d05f3dd0bfdfd614.tar.gz
freebsd-ports-graphics-d417ca64f83c9255c6b04404d05f3dd0bfdfd614.tar.zst
freebsd-ports-graphics-d417ca64f83c9255c6b04404d05f3dd0bfdfd614.zip
- Clarify LICENSE
- Add LICENSE_FILE - Use canonical makefile statement otder - Remove obsolete CONFLICTS - Add empty directories to plist
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