From 73b2cfe472234c3dc0a69d223babc271865d43c0 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Thu, 31 Jul 2008 12:10:50 +0000 Subject: - 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 --- editors/morla/Makefile | 21 ++++++++++++++++----- editors/morla/distinfo | 6 +++--- editors/morla/pkg-plist | 1 + 3 files changed, 20 insertions(+), 8 deletions(-) (limited to 'editors/morla') 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 +.include + +.if defined(WITH_XULRUNNER) +USE_GECKO= xulrunner +CONFIGURE_ARGS+= --with-javascript=xulrunner +.else +CONFIGURE_ARGS+= --with-javascript=none +.endif + +.include 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 -- cgit v1.2.3