summaryrefslogtreecommitdiff
path: root/games/lpairs
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-22 11:38:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-09-22 11:38:14 +0000
commit7fcc17748087eb078c39ecf26b03730d12ee39fd (patch)
tree21a311077ffa2eaea472e37818d761d96f5c68e3 /games/lpairs
parent- Cleanup plist (diff)
- Simplify plist
Notes
Notes: svn path=/head/; revision=368850
Diffstat (limited to 'games/lpairs')
-rw-r--r--games/lpairs/Makefile6
-rw-r--r--games/lpairs/pkg-plist34
2 files changed, 4 insertions, 36 deletions
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index b99e30b88919..e0248f072fe2 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -15,17 +15,19 @@ USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
USES+= gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
+PLIST_FILES+= share/locale/de/LC_MESSAGES/lpairs.mo
.else
CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
post-patch:
diff --git a/games/lpairs/pkg-plist b/games/lpairs/pkg-plist
deleted file mode 100644
index 19ba3e6cd09b..000000000000
--- a/games/lpairs/pkg-plist
+++ /dev/null
@@ -1,34 +0,0 @@
-bin/lpairs
-%%NLS%%share/locale/de/LC_MESSAGES/lpairs.mo
-%%DATADIR%%/gfx/0.bmp
-%%DATADIR%%/gfx/1.bmp
-%%DATADIR%%/gfx/10.bmp
-%%DATADIR%%/gfx/11.bmp
-%%DATADIR%%/gfx/12.bmp
-%%DATADIR%%/gfx/13.bmp
-%%DATADIR%%/gfx/14.bmp
-%%DATADIR%%/gfx/15.bmp
-%%DATADIR%%/gfx/16.bmp
-%%DATADIR%%/gfx/17.bmp
-%%DATADIR%%/gfx/18.bmp
-%%DATADIR%%/gfx/19.bmp
-%%DATADIR%%/gfx/2.bmp
-%%DATADIR%%/gfx/3.bmp
-%%DATADIR%%/gfx/4.bmp
-%%DATADIR%%/gfx/5.bmp
-%%DATADIR%%/gfx/6.bmp
-%%DATADIR%%/gfx/7.bmp
-%%DATADIR%%/gfx/8.bmp
-%%DATADIR%%/gfx/9.bmp
-%%DATADIR%%/gfx/back.bmp
-%%DATADIR%%/gfx/button.bmp
-%%DATADIR%%/gfx/f_white.bmp
-%%DATADIR%%/gfx/f_yellow.bmp
-%%DATADIR%%/gfx/stan_font.bmp
-%%DATADIR%%/gfx/title.bmp
-%%DATADIR%%/sound/click.wav
-%%DATADIR%%/sound/fail.wav
-%%DATADIR%%/sound/remove.wav
-@dirrm %%DATADIR%%/sound
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%