Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 14:06:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420472 - head/games/manaplus
Message-ID:  <201608191406.u7JE6aj2042928@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Aug 19 14:06:36 2016
New Revision: 420472
URL: https://svnweb.freebsd.org/changeset/ports/420472

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Optionize NLS
  - Fix WWW:

Modified:
  head/games/manaplus/Makefile
  head/games/manaplus/pkg-descr
  head/games/manaplus/pkg-plist

Modified: head/games/manaplus/Makefile
==============================================================================
--- head/games/manaplus/Makefile	Fri Aug 19 14:02:24 2016	(r420471)
+++ head/games/manaplus/Makefile	Fri Aug 19 14:06:36 2016	(r420472)
@@ -9,25 +9,31 @@ MASTER_SITES=	http://download.evolonline
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Free open source 2D MMORPG client for athena and evol servers
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 		libpng.so:graphics/png \
 		libcurl.so:ftp/curl \
 		libphysfs.so:devel/physfs
 
-USES=		gettext pkgconfig:build tar:xz
+USES=		pkgconfig:build tar:xz
 USE_XORG=	x11
 USE_SDL=	sdl2 gfx2 image2 mixer2 net2 ttf2
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE} --with-sdl2 \
+CONFIGURE_ARGS=	--with-sdl2 \
 		--without-internalsdlgfx
-LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
-OPTIONS_DEFINE=		OPENGL
+OPTIONS_DEFINE=		OPENGL NLS
 OPTIONS_DEFAULT=	OPENGL
+OPTIONS_SUB=		yes
 
 OPENGL_CONFIGURE_WITH=	opengl
 OPENGL_USE=		GL=gl
 
+NLS_USES=		gettext
+NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
+NLS_LDFLAGS=		-L${LOCALBASE}/lib -lintl
+NLS_CONFIGURE_ENABLE=	nls
+
 .include <bsd.port.mk>

Modified: head/games/manaplus/pkg-descr
==============================================================================
--- head/games/manaplus/pkg-descr	Fri Aug 19 14:02:24 2016	(r420471)
+++ head/games/manaplus/pkg-descr	Fri Aug 19 14:06:36 2016	(r420472)
@@ -2,4 +2,4 @@ ManaPlus is a 2D MMORPG client for games
 eathena servers. It fully supports Evol Online, The Mana World and Land Of
 Fire.
 
-WWW: http://www.manaplus.org
+WWW: http://www.manaplus.org/

Modified: head/games/manaplus/pkg-plist
==============================================================================
--- head/games/manaplus/pkg-plist	Fri Aug 19 14:02:24 2016	(r420471)
+++ head/games/manaplus/pkg-plist	Fri Aug 19 14:06:36 2016	(r420472)
@@ -4,28 +4,28 @@ man/man6/manaplus.6.gz
 man/man6/manaplustest.6.gz
 share/applications/manaplus.desktop
 share/applications/manaplustest.desktop
-share/locale/ca/LC_MESSAGES/manaplus.mo
-share/locale/cs/LC_MESSAGES/manaplus.mo
-share/locale/de/LC_MESSAGES/manaplus.mo
-share/locale/es/LC_MESSAGES/manaplus.mo
-share/locale/fi/LC_MESSAGES/manaplus.mo
-share/locale/fr/LC_MESSAGES/manaplus.mo
-share/locale/id/LC_MESSAGES/manaplus.mo
-share/locale/it/LC_MESSAGES/manaplus.mo
-share/locale/ja/LC_MESSAGES/manaplus.mo
-share/locale/nl/LC_MESSAGES/manaplus.mo
-share/locale/nl_BE/LC_MESSAGES/manaplus.mo
-share/locale/pl/LC_MESSAGES/manaplus.mo
-share/locale/pt/LC_MESSAGES/manaplus.mo
-share/locale/pt_BR/LC_MESSAGES/manaplus.mo
-share/locale/ru/LC_MESSAGES/manaplus.mo
-share/locale/sr/LC_MESSAGES/manaplus.mo
-share/locale/sv/LC_MESSAGES/manaplus.mo
-share/locale/sv_SE/LC_MESSAGES/manaplus.mo
-share/locale/tr/LC_MESSAGES/manaplus.mo
-share/locale/uk/LC_MESSAGES/manaplus.mo
-share/locale/zh_CN/LC_MESSAGES/manaplus.mo
-share/locale/zh_HK/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/de/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/es/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/id/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/it/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/nl_BE/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/manaplus.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/manaplus.mo
 %%DATADIR%%/data/fonts/dejavusans-bold.ttf
 %%DATADIR%%/data/fonts/dejavusans.ttf
 %%DATADIR%%/data/fonts/dejavusansmono-bold.ttf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608191406.u7JE6aj2042928>