pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add Mudlet 3.0.1 (latest version to work with dependencies in pkgsrc current).



Module Name:	pkgsrc-wip
Committed By:	Chris Humphries <chris%sogubsys.com@localhost>
Pushed By:	chumphries
Date:		Thu Jul 20 23:52:30 2017 +0000
Changeset:	9c1a6ab1bb2cf341b41e0c8ae3fb41a92a0844ed

Added Files:
	mudlet-301/DESCR
	mudlet-301/Makefile
	mudlet-301/PLIST
	mudlet-301/TODO
	mudlet-301/distinfo
	mudlet-301/patches/patch-cmake_FindHUNSPELL.cmake
	mudlet-301/patches/patch-cmake_FindPCRE.cmake
	mudlet-301/patches/patch-cmake_FindYAJL.cmake
	mudlet-301/patches/patch-cmake_FindZIP.cmake
	mudlet-301/patches/patch-src_main.cpp
	mudlet-301/patches/patch-src_mudlet-lua_tests_DB.lua
	mudlet-301/patches/patch-src_mudlet-lua_tests_GUIUtils.lua
	mudlet-301/patches/patch-src_src.pro

Log Message:
Add Mudlet 3.0.1 (latest version to work with dependencies in pkgsrc current).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9c1a6ab1bb2cf341b41e0c8ae3fb41a92a0844ed

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mudlet-301/DESCR                                   |  7 +++
 mudlet-301/Makefile                                | 37 ++++++++++++
 mudlet-301/PLIST                                   |  2 +
 mudlet-301/TODO                                    |  1 +
 mudlet-301/distinfo                                | 14 +++++
 mudlet-301/patches/patch-cmake_FindHUNSPELL.cmake  | 31 ++++++++++
 mudlet-301/patches/patch-cmake_FindPCRE.cmake      | 67 ++++++++++++++++++++++
 mudlet-301/patches/patch-cmake_FindYAJL.cmake      | 31 ++++++++++
 mudlet-301/patches/patch-cmake_FindZIP.cmake       | 31 ++++++++++
 mudlet-301/patches/patch-src_main.cpp              | 13 +++++
 .../patches/patch-src_mudlet-lua_tests_DB.lua      | 13 +++++
 .../patch-src_mudlet-lua_tests_GUIUtils.lua        | 13 +++++
 mudlet-301/patches/patch-src_src.pro               | 35 +++++++++++
 13 files changed, 295 insertions(+)

diffs:
diff --git a/mudlet-301/DESCR b/mudlet-301/DESCR
new file mode 100644
index 0000000000..11300e2b04
--- /dev/null
+++ b/mudlet-301/DESCR
@@ -0,0 +1,7 @@
+Mudlet is a quality MUD client, designed to take mudding to a new
+level.
+
+It's a new breed of a client on the MUD scene with an intuitive user
+interface, a specially designed scripting framework, and a very fast
+text display. Add to that cross-platform capability, an open-source
+development model, and you have a very likable MUD client.
diff --git a/mudlet-301/Makefile b/mudlet-301/Makefile
new file mode 100644
index 0000000000..b44d5c4f17
--- /dev/null
+++ b/mudlet-301/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME=	Mudlet-3.0.1
+CATEGORIES=	wip
+MASTER_SITES=	https://www.mudlet.org/wp-content/files/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	chris%sogubsys.com@localhost
+HOMEPAGE=	https://www.mudlet.org/
+COMMENT=	Mudlet is a powerful GUI MUD client with Lua scripting
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR} # More than one possibility -- please check manually.
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+
+DEPENDS+=	lua[0-9]*-lrexlib-pcre-[0-9]*:../../devel/lua-lrexlib-pcre
+DEPENDS+=	lua[0-9]*-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+=	lua[0-9]*-sql-sqlite3-[0-9]*:../../databases/lua-sql-sqlite3
+
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/mudlet ${DESTDIR}${PREFIX}/bin
+
+
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../lang/lua51/buildlink3.mk"
+.include "../../textproc/hunspell/buildlink3.mk"
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/yajl/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mudlet-301/PLIST b/mudlet-301/PLIST
new file mode 100644
index 0000000000..a519f9c4ef
--- /dev/null
+++ b/mudlet-301/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/mudlet
diff --git a/mudlet-301/TODO b/mudlet-301/TODO
new file mode 100644
index 0000000000..ef8f65133e
--- /dev/null
+++ b/mudlet-301/TODO
@@ -0,0 +1 @@
+change paths from /usr/local to /usr/pkg
diff --git a/mudlet-301/distinfo b/mudlet-301/distinfo
new file mode 100644
index 0000000000..6bb4678e4b
--- /dev/null
+++ b/mudlet-301/distinfo
@@ -0,0 +1,14 @@
+$NetBSD$
+
+SHA1 (Mudlet-3.0.1.tar.xz) = 7d92c7c1c99f2a6346cf8217ec91c99fe642dc72
+RMD160 (Mudlet-3.0.1.tar.xz) = ad3170a419f156f5ca4bcc3b1948d02e2d7629cd
+SHA512 (Mudlet-3.0.1.tar.xz) = a1e710d79c1709e1f45f1db1a54ef0a5cd6778628d9ed9bf980e0f142ceab78c7243b8dfaba15c4eca67518c32e1f7297342df559422d4b0c36a033a9cf86c2c
+Size (Mudlet-3.0.1.tar.xz) = 5019384 bytes
+SHA1 (patch-cmake_FindHUNSPELL.cmake) = c0a2dff8543f7ce575d831c3af29f3dba28f7c36
+SHA1 (patch-cmake_FindPCRE.cmake) = 6f8eb8250081fc3485db0801b5a2594f4703dce5
+SHA1 (patch-cmake_FindYAJL.cmake) = 8c3ad198053723f7c15fee974897211bc04f029e
+SHA1 (patch-cmake_FindZIP.cmake) = 7218c38ba4dc29c69ddce9b28cbabee3e8c8d5ca
+SHA1 (patch-src_main.cpp) = ec7f993c3de7537838338fad40780d7e8429803f
+SHA1 (patch-src_mudlet-lua_tests_DB.lua) = 158b779990d7eea90fe4883229eed1b3d536f67a
+SHA1 (patch-src_mudlet-lua_tests_GUIUtils.lua) = c963d11327a175f8f535aeba6fc8486e94dfa27f
+SHA1 (patch-src_src.pro) = 997583cbd7f0ba274683687d9cfff3138c28f89d
diff --git a/mudlet-301/patches/patch-cmake_FindHUNSPELL.cmake b/mudlet-301/patches/patch-cmake_FindHUNSPELL.cmake
new file mode 100644
index 0000000000..7ced39863b
--- /dev/null
+++ b/mudlet-301/patches/patch-cmake_FindHUNSPELL.cmake
@@ -0,0 +1,31 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- cmake/FindHUNSPELL.cmake.orig	2017-07-11 00:01:53.000000000 +0000
++++ cmake/FindHUNSPELL.cmake
+@@ -12,7 +12,7 @@ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw # Fink
+   /opt/local # DarwinPorts
+@@ -28,7 +28,7 @@ FIND_LIBRARY(HUNSPELL_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -44,7 +44,7 @@ FIND_LIBRARY(HUNSPELL_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
diff --git a/mudlet-301/patches/patch-cmake_FindPCRE.cmake b/mudlet-301/patches/patch-cmake_FindPCRE.cmake
new file mode 100644
index 0000000000..c484c8ac83
--- /dev/null
+++ b/mudlet-301/patches/patch-cmake_FindPCRE.cmake
@@ -0,0 +1,67 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- cmake/FindPCRE.cmake.orig	2017-07-11 00:01:53.000000000 +0000
++++ cmake/FindPCRE.cmake
+@@ -12,7 +12,7 @@ FIND_PATH(PCRE_INCLUDE_DIR pcre.h
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw # Fink
+   /opt/local # DarwinPorts
+@@ -28,7 +28,7 @@ FIND_LIBRARY(PCRE_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -44,7 +44,7 @@ FIND_LIBRARY(PCRE_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -60,7 +60,7 @@ FIND_LIBRARY(PCRECPP_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -76,7 +76,7 @@ FIND_LIBRARY(PCRECPP_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -92,7 +92,7 @@ FIND_LIBRARY(PCREPOSIX_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -108,7 +108,7 @@ FIND_LIBRARY(PCREPOSIX_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
diff --git a/mudlet-301/patches/patch-cmake_FindYAJL.cmake b/mudlet-301/patches/patch-cmake_FindYAJL.cmake
new file mode 100644
index 0000000000..94169a1db3
--- /dev/null
+++ b/mudlet-301/patches/patch-cmake_FindYAJL.cmake
@@ -0,0 +1,31 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- cmake/FindYAJL.cmake.orig	2017-07-11 00:01:53.000000000 +0000
++++ cmake/FindYAJL.cmake
+@@ -12,7 +12,7 @@ FIND_PATH(YAJL_INCLUDE_DIR yajl/yajl_ver
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw # Fink
+   /opt/local # DarwinPorts
+@@ -28,7 +28,7 @@ FIND_LIBRARY(YAJL_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -44,7 +44,7 @@ FIND_LIBRARY(YAJL_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
diff --git a/mudlet-301/patches/patch-cmake_FindZIP.cmake b/mudlet-301/patches/patch-cmake_FindZIP.cmake
new file mode 100644
index 0000000000..eba4cf6144
--- /dev/null
+++ b/mudlet-301/patches/patch-cmake_FindZIP.cmake
@@ -0,0 +1,31 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- cmake/FindZIP.cmake.orig	2017-07-11 00:01:53.000000000 +0000
++++ cmake/FindZIP.cmake
+@@ -12,7 +12,7 @@ FIND_PATH(ZIP_INCLUDE_DIR zip.h
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw # Fink
+   /opt/local # DarwinPorts
+@@ -28,7 +28,7 @@ FIND_LIBRARY(ZIP_LIBRARY_RELEASE 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
+@@ -44,7 +44,7 @@ FIND_LIBRARY(ZIP_LIBRARY_DEBUG 
+   PATHS
+   ~/Library/Frameworks
+   /Library/Frameworks
+-  /usr/local
++  @PREFIX@
+   /usr
+   /sw
+   /opt/local
diff --git a/mudlet-301/patches/patch-src_main.cpp b/mudlet-301/patches/patch-src_main.cpp
new file mode 100644
index 0000000000..aa6e45cd10
--- /dev/null
+++ b/mudlet-301/patches/patch-src_main.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- src/main.cpp.orig	2017-07-11 00:01:53.000000000 +0000
++++ src/main.cpp
+@@ -36,7 +36,7 @@
+ #include "post_guard.h"
+ 
+ 
+-// N/U: #define MUDLET_HOME "/usr/local/share/mudlet/"
++// N/U: #define MUDLET_HOME "@PREFIX@/share/mudlet/"
+ 
+ using namespace std;
+ 
diff --git a/mudlet-301/patches/patch-src_mudlet-lua_tests_DB.lua b/mudlet-301/patches/patch-src_mudlet-lua_tests_DB.lua
new file mode 100644
index 0000000000..a8cdff4dbc
--- /dev/null
+++ b/mudlet-301/patches/patch-src_mudlet-lua_tests_DB.lua
@@ -0,0 +1,13 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- src/mudlet-lua/tests/DB.lua.orig	2017-07-11 00:01:53.000000000 +0000
++++ src/mudlet-lua/tests/DB.lua
+@@ -4,7 +4,7 @@ describe("Tests DB.lua functions", funct
+     package.path = "../lua/?.lua;"
+ 
+     -- add in the location of Lua libraries on Ubuntu 12.04
+-    package.path = package.path .. "/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua"
++    package.path = package.path .. "@PREFIX@/share/lua/5.1/?.lua;@PREFIX@/share/lua/5.1/?/init.lua;@PREFIX@/lib/lua/5.1/?.lua;@PREFIX@/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua"
+ 
+     luasql = require"luasql.sqlite3"
+     rex    = require"rex_pcre"
diff --git a/mudlet-301/patches/patch-src_mudlet-lua_tests_GUIUtils.lua b/mudlet-301/patches/patch-src_mudlet-lua_tests_GUIUtils.lua
new file mode 100644
index 0000000000..ebf946b7a9
--- /dev/null
+++ b/mudlet-301/patches/patch-src_mudlet-lua_tests_GUIUtils.lua
@@ -0,0 +1,13 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- src/mudlet-lua/tests/GUIUtils.lua.orig	2017-07-11 00:01:53.000000000 +0000
++++ src/mudlet-lua/tests/GUIUtils.lua
+@@ -6,7 +6,7 @@ describe("Tests the GUI utilities as far
+ 
+     -- add in the location of Lua libraries on Ubuntu 12.04
+     package.path = package.path ..
+-"/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua"
++"@PREFIX@/share/lua/5.1/?.lua;@PREFIX@/share/lua/5.1/?/init.lua;@PREFIX@/lib/lua/5.1/?.lua;@PREFIX@/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua"
+ 
+     rex    = require"rex_pcre"
+ 
diff --git a/mudlet-301/patches/patch-src_src.pro b/mudlet-301/patches/patch-src_src.pro
new file mode 100644
index 0000000000..a8f0eca2e0
--- /dev/null
+++ b/mudlet-301/patches/patch-src_src.pro
@@ -0,0 +1,35 @@
+$NetBSD$
+Swap out /usr/local with @PREFIX@
+--- src/src.pro.orig	2017-07-11 00:01:53.000000000 +0000
++++ src/src.pro
+@@ -90,17 +90,17 @@ DEFINES += APP_TARGET=\\\"$${TARGET}$${T
+ unix:!macx {
+ # Distribution packagers would be using PREFIX = /usr but this is accepted
+ # destination place for local builds for software for all users:
+-    isEmpty( PREFIX ) PREFIX = /usr/local
++    isEmpty( PREFIX ) PREFIX = @PREFIX@
+     isEmpty( DATAROOTDIR ) DATAROOTDIR = $${PREFIX}/share
+     isEmpty( DATADIR ) DATADIR = $${DATAROOTDIR}/mudlet
+-# According to Linux FHS /usr/local/games is an alternative location for leasure time BINARIES 8-):
++# According to Linux FHS @PREFIX@/games is an alternative location for leasure time BINARIES 8-):
+     isEmpty( BINDIR ) BINDIR = $${PREFIX}/bin
+-# Again according to FHS /usr/local/share/games is the corresponding place for locally built games documentation:
++# Again according to FHS @PREFIX@/share/games is the corresponding place for locally built games documentation:
+     isEmpty( DOCDIR ) DOCDIR = $${DATAROOTDIR}/doc/mudlet
+     LIBS += -lpcre \
+         -llua5.1 \
+         -lhunspell \
+-        -L/usr/local/lib/ \
++        -L@PREFIX@/lib/ \
+         -lyajl \
+         -lGLU \
+         -lzip \
+@@ -147,7 +147,7 @@ macx {
+     QT_CONFIG -= no-pkg-config
+     CONFIG += link_pkgconfig
+     PKGCONFIG += hunspell lua5.1 yajl libpcre libzip
+-    INCLUDEPATH += /usr/local/include
++    INCLUDEPATH += @PREFIX@/include
+ }
+ 
+ # There does not seem to be an obvious pkg-config option for these two


Home | Main Index | Thread Index | Old Index