- Fix LICENSE (COPYING is GPLv3, but source files mention GPLv2+)

- Add LICENSE_FILE
- Switch to USES=localbase
- Optionize NLS (doesn't build with --disable-nls, so just make translation files installation optional)
This commit is contained in:
Dmitry Marakasov 2019-11-11 21:05:09 +00:00
parent 761cf1dea4
commit 87d93667ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517285
2 changed files with 13 additions and 13 deletions

View File

@ -10,15 +10,14 @@ MASTER_SITES= SF/${PORTNAME}/Pushover/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game where the goal is to push over all dominoes
LICENSE= GPLv3
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= gettext gmake localbase:ldflags lua pkgconfig sdl
GNU_CONFIGURE= yes
USE_SDL= sdl mixer ttf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gettext gmake lua pkgconfig sdl
PORTDOCS= *
PORTDATA= *
@ -30,7 +29,8 @@ DESKTOP_ENTRIES="Pushover" \
"Game;LogicGame;" \
false
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|lua5.1|lua-${LUA_VER}|' ${WRKSRC}/configure

View File

@ -1,9 +1,9 @@
bin/pushover
share/locale/cs/LC_MESSAGES/pushover.mo
share/locale/de/LC_MESSAGES/pushover.mo
share/locale/eo/LC_MESSAGES/pushover.mo
share/locale/es/LC_MESSAGES/pushover.mo
share/locale/fr/LC_MESSAGES/pushover.mo
share/locale/it/LC_MESSAGES/pushover.mo
share/locale/ru/LC_MESSAGES/pushover.mo
share/locale/sv/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/cs/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/de/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/eo/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/es/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/it/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/ru/LC_MESSAGES/pushover.mo
%%NLS%%share/locale/sv/LC_MESSAGES/pushover.mo