aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2008-07-31 20:10:50 +0800
committernivit <nivit@FreeBSD.org>2008-07-31 20:10:50 +0800
commitbedeab89f8beb7833ec82f4fcdfa7333a7a425bc (patch)
tree7b935aac31e94d95083c72fc8d444347460795ba /editors
parentd468b9e79e907da89d8c5fb59f7efdd6363a6959 (diff)
downloadfreebsd-ports-gnome-bedeab89f8beb7833ec82f4fcdfa7333a7a425bc.tar.gz
freebsd-ports-gnome-bedeab89f8beb7833ec82f4fcdfa7333a7a425bc.tar.zst
freebsd-ports-gnome-bedeab89f8beb7833ec82f4fcdfa7333a7a425bc.zip
- Update to 0.16
- Add gconf2 to USE_GNOME - Add WITH_XULRUNNER option (JavaScript engine) - Remove deprecated value (Application) for key "Categories" in DESKTOP_ENTRIES
Diffstat (limited to 'editors')
-rw-r--r--editors/morla/Makefile21
-rw-r--r--editors/morla/distinfo6
-rw-r--r--editors/morla/pkg-plist1
3 files changed, 20 insertions, 8 deletions
diff --git a/editors/morla/Makefile b/editors/morla/Makefile
index 41cbc44757af..83e0bd59c015 100644
--- a/editors/morla/Makefile
+++ b/editors/morla/Makefile
@@ -6,9 +6,8 @@
#
PORTNAME= morla
-PORTVERSION= 0.15
+PORTVERSION= 0.16
#PORTREVISION= 0
-PORTREVISION= 1
CATEGORIES= editors textproc
MASTER_SITES= http://www.morlardf.net/src/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
@@ -22,10 +21,13 @@ LIB_DEPENDS= nxml.18:${PORTSDIR}/textproc/libnxml \
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
+OPTIONS= XULRUNNER "Install xulrunner as JavaScript engine" off
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I/${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-gconf=auto
USE_GETTEXT= yes
-USE_GNOME= libgtkhtml libxslt
+USE_GNOME= gconf2 libgtkhtml libxslt
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
MAN1= morla.1
@@ -34,11 +36,20 @@ DESKTOP_ENTRIES="morla" \
"Edit RDF documents" \
"${DATADIR}/icons/128_color.png" \
"morla" \
- "Application;WebDevelopment;" \
+ "WebDevelopment;" \
true
post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_XULRUNNER)
+USE_GECKO= xulrunner
+CONFIGURE_ARGS+= --with-javascript=xulrunner
+.else
+CONFIGURE_ARGS+= --with-javascript=none
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/morla/distinfo b/editors/morla/distinfo
index 05643e0f8475..38abe47db0b9 100644
--- a/editors/morla/distinfo
+++ b/editors/morla/distinfo
@@ -1,3 +1,3 @@
-MD5 (morla-0.15.tar.gz) = 51300596832e07896620f23e8a796f12
-SHA256 (morla-0.15.tar.gz) = b160e1888ad2539b0ab92d56dd2fc56cb3f42c1ede5922b4ddc0556b04fb1d5a
-SIZE (morla-0.15.tar.gz) = 701419
+MD5 (morla-0.16.tar.gz) = 3a53b2c5b7ea5c2378081d65d469a814
+SHA256 (morla-0.16.tar.gz) = c20fd759a4e8fa7435759f4f6a8bac4bdf7ab5a5bb80c3263ba8adb7a5eb962a
+SIZE (morla-0.16.tar.gz) = 717376
diff --git a/editors/morla/pkg-plist b/editors/morla/pkg-plist
index b44027a1d153..9683bbb5455e 100644
--- a/editors/morla/pkg-plist
+++ b/editors/morla/pkg-plist
@@ -5,6 +5,7 @@ lib/morla/index.xml
lib/morla/libmorla_test.a
lib/morla/libmorla_test.la
lib/morla/libmorla_test.so
+libdata/ldconfig/morla
share/locale/it/LC_MESSAGES/morla.mo
%%DATADIR%%/bootsplash.png
%%DATADIR%%/icons/128_BN.png