1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Simplify plist

This commit is contained in:
Dmitry Marakasov 2014-09-22 11:38:14 +00:00
parent 440754ef5a
commit 7fcc177480
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368850
2 changed files with 4 additions and 36 deletions

View File

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

View File

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