aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-18 22:07:17 +0800
committermat <mat@FreeBSD.org>2016-04-18 22:07:17 +0800
commitdf8329d9aee60eaad95777ba24a1b11cd2c2ec39 (patch)
treea04c88fde7c13bcd5f4e734333e93357b23dc0f5 /finance
parentdfe9a4a79e3eeeeaf17f1350bbfb58666b6a9113 (diff)
downloadfreebsd-ports-gnome-df8329d9aee60eaad95777ba24a1b11cd2c2ec39.tar.gz
freebsd-ports-gnome-df8329d9aee60eaad95777ba24a1b11cd2c2ec39.tar.zst
freebsd-ports-gnome-df8329d9aee60eaad95777ba24a1b11cd2c2ec39.zip
Update to 1.2.7.
PR: 208868 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Diffstat (limited to 'finance')
-rw-r--r--finance/moneymanagerex/Makefile27
-rw-r--r--finance/moneymanagerex/distinfo8
-rw-r--r--finance/moneymanagerex/files/patch-lib_wxsqlite3_sqlite3_secure_src_extensionfunctions.c14
3 files changed, 17 insertions, 32 deletions
diff --git a/finance/moneymanagerex/Makefile b/finance/moneymanagerex/Makefile
index bcfbf3768c05..a655de61e6d4 100644
--- a/finance/moneymanagerex/Makefile
+++ b/finance/moneymanagerex/Makefile
@@ -2,13 +2,11 @@
# $FreeBSD$
PORTNAME= mmex
-PORTVERSION= 1.2.6
+PORTVERSION= 1.2.7
DISTVERSIONPREFIX= v
CATEGORIES= finance
-MASTER_SITES= https://github.com/vslavik/bakefile/releases/download/v0.2.9/:bakefile \
- SF/wxcode/Components/wxSQLite3:wxsqlite3
-DISTFILES= bakefile-0.2.9${EXTRACT_SUFX}:bakefile \
- ${WXSQLITE3_DISTNAME}${EXTRACT_SUFX}:wxsqlite3
+MASTER_SITES= https://github.com/vslavik/bakefile/releases/download/v0.2.9/:bakefile
+DISTFILES= bakefile-0.2.9${EXTRACT_SUFX}:bakefile
MAINTAINER= ports@FreeBSD.org
COMMENT= Free, open-source, easy-to-use personal finance software
@@ -18,12 +16,10 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= moneymanagerex
GH_PROJECT= moneymanagerex
-
-WXSQLITE3_DISTNAME= wxsqlite3-3.2.1
-
GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \
FVANCOP:ChartNew.js:77e7f87:chartnew_js \
diepes:sorttable.js:3c63cb0:sorttable_js \
+ utelle:wxsqlite3:v3.3.1:wxsqlite3 \
moneymanagerex:database:5d7129f:database \
moneymanagerex:LuaGlue:c51d11a:luaglue \
moneymanagerex:cajun:3684900:cajun \
@@ -32,19 +28,20 @@ GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \
moneymanagerex:ctpp:20158e0:ctpp \
moneymanagerex:mongoose:97583a6:mongoose
-USES= autoreconf compiler:c++11-lib gettext gmake
+USES= autoreconf compiler:c++11-lib gettext gmake lua pkgconfig
GNU_CONFIGURE= yes
USE_WX= 3.0
WX_CONF_ARGS= absolute
INSTALLS_ICONS= yes
+USE_CXXSTD= c++11
CPPFLAGS+= -I${LOCALBASE}/include \
-DHAVE_ACOSH \
-DHAVE_ASINH \
-DHAVE_ATANH \
-DHAVE_ISBLANK \
- -DSQLITE_USER_AUTHENTICATION=0
-LDFLAGS+= -L${LOCALBASE}/lib
+ $$(pkg-config --cflags lua-${LUA_VER})
+LDFLAGS+= -L${LOCALBASE}/lib $$(pkg-config --libs lua-${LUA_VER})
PORTDOCS= *
OPTIONS_DEFINE= DOCS
@@ -52,8 +49,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == "gcc"
-LIB_DEPENDS+= libboost_system.so:devel/boost-libs
-LDFLAGS+= -lboost_system
+CXXFLAGS+= -D_GLIBCXX_USE_C99
.endif
post-extract:
@@ -67,12 +63,15 @@ post-extract:
@${MV} ${WRKSRC_html_template}/* ${WRKSRC}/3rd/cgitemplate
@${MV} ${WRKSRC_mongoose}/* ${WRKSRC}/3rd/mongoose
@${MV} ${WRKSRC_sorttable_js}/* ${WRKSRC}/3rd/sorttable.js
- @${MV} ${WRKDIR}/${WXSQLITE3_DISTNAME}/* ${WRKSRC}/lib/wxsqlite3
+ @${MV} ${WRKSRC_wxsqlite3}/* ${WRKSRC}/lib/wxsqlite3
@${MV} ${WRKDIR}/bakefile-0.2.9/autoconf/*.m4 ${WRKSRC}/m4
post-patch:
@${REINPLACE_CMD} -e \
's|\*.txt|contrib.txt version.txt| ; \
+ s|-I$$(srcdir)/lib/lua/src || ; \
+ s|$$(LIBPREFIX)lua$$(LIBEXT) || ; \
+ s|-llua || ; \
s|$$(datadir)/man|$$(prefix)/man| ; \
s|-ldl$$||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
diff --git a/finance/moneymanagerex/distinfo b/finance/moneymanagerex/distinfo
index f95d8e5eed09..11e715dcfd41 100644
--- a/finance/moneymanagerex/distinfo
+++ b/finance/moneymanagerex/distinfo
@@ -1,15 +1,15 @@
SHA256 (bakefile-0.2.9.tar.gz) = 9f3c65411ad3932027e3c3e765337d89be2f9cf5ee9a204da80e92a8c2d76ca5
SIZE (bakefile-0.2.9.tar.gz) = 775528
-SHA256 (wxsqlite3-3.2.1.tar.gz) = 312f2cf63c76a70bae92b78ea6fb7e9485fb23c3ee728daa418babab881939e4
-SIZE (wxsqlite3-3.2.1.tar.gz) = 2810940
-SHA256 (moneymanagerex-moneymanagerex-v1.2.6_GH0.tar.gz) = aa107ec8165fefa757d6a00378b5fc2c4e6b9c8c6087834a4fea92d0c2447bdc
-SIZE (moneymanagerex-moneymanagerex-v1.2.6_GH0.tar.gz) = 5394607
+SHA256 (moneymanagerex-moneymanagerex-v1.2.7_GH0.tar.gz) = 44d52e684fe8acba8f5a4723bd44b1ab9b32ca6670190db1759a58a681e4381e
+SIZE (moneymanagerex-moneymanagerex-v1.2.7_GH0.tar.gz) = 5400042
SHA256 (Regaddi-Chart.js-f13f99b_GH0.tar.gz) = d951bd59c04942547998200974d2db148fe2ffd72ab29a4bf3ac4bb19252e68d
SIZE (Regaddi-Chart.js-f13f99b_GH0.tar.gz) = 71113
SHA256 (FVANCOP-ChartNew.js-77e7f87_GH0.tar.gz) = 6ec3470ac81dadceed8b97ff905d44c8659c6144d27987f9281000aa47dcca3d
SIZE (FVANCOP-ChartNew.js-77e7f87_GH0.tar.gz) = 193800
SHA256 (diepes-sorttable.js-3c63cb0_GH0.tar.gz) = 9cc27341400d917dfa24e10f4de86550d35794c69388c311e9fcfd2ba83be403
SIZE (diepes-sorttable.js-3c63cb0_GH0.tar.gz) = 6177
+SHA256 (utelle-wxsqlite3-v3.3.1_GH0.tar.gz) = 4bdb387a69b35f9b06f1c4ad53e511c9c47f2c828de38a6d4edf59fe1d95aac0
+SIZE (utelle-wxsqlite3-v3.3.1_GH0.tar.gz) = 5543873
SHA256 (moneymanagerex-database-5d7129f_GH0.tar.gz) = faf5eb922e616fddbcc7affee333bedf4a7aaef3319db296c0a0da51a67f6011
SIZE (moneymanagerex-database-5d7129f_GH0.tar.gz) = 13424
SHA256 (moneymanagerex-LuaGlue-c51d11a_GH0.tar.gz) = b392fe598b8ec1d93865d6c86341d141a04c817842d29bc65589fbd6c4274b4c
diff --git a/finance/moneymanagerex/files/patch-lib_wxsqlite3_sqlite3_secure_src_extensionfunctions.c b/finance/moneymanagerex/files/patch-lib_wxsqlite3_sqlite3_secure_src_extensionfunctions.c
deleted file mode 100644
index edc4630b8ba6..000000000000
--- a/finance/moneymanagerex/files/patch-lib_wxsqlite3_sqlite3_secure_src_extensionfunctions.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- lib/wxsqlite3/sqlite3/secure/src/extensionfunctions.c.orig 2015-03-03 21:30:22 UTC
-+++ lib/wxsqlite3/sqlite3/secure/src/extensionfunctions.c
-@@ -208,9 +208,9 @@ int double_cmp(const void *a, const void
-
- #endif /* _MAP_H_ */
-
--typedef uint8_t u8;
-+//typedef uint8_t u8;
- //typedef uint16_t u16;
--typedef int64_t i64;
-+//typedef int64_t i64;
-
- static char *sqlite3StrDup( const char *z ) {
- char *res = sqlite3_malloc( strlen(z)+1 );