aboutsummaryrefslogtreecommitdiff
path: root/editors/morla
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-09 10:29:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-09 10:29:48 +0000
commit67a015afbcff48cb22a287a9e346bc70d8752ac5 (patch)
tree85d81b83d23ab7b2efc21a25ff0ceebc8c0906d3 /editors/morla
parent412cfda55239f149fe77a5bc41fa2a072f935321 (diff)
downloadports-67a015afbcff48cb22a287a9e346bc70d8752ac5.tar.gz
ports-67a015afbcff48cb22a287a9e346bc70d8752ac5.zip
Notes
Diffstat (limited to 'editors/morla')
-rw-r--r--editors/morla/Makefile26
-rw-r--r--editors/morla/pkg-plist2
2 files changed, 10 insertions, 18 deletions
diff --git a/editors/morla/Makefile b/editors/morla/Makefile
index 223f21066e8e..22cc9f8d0e37 100644
--- a/editors/morla/Makefile
+++ b/editors/morla/Makefile
@@ -9,12 +9,12 @@ MASTER_SITES= http://www.morlardf.net/src/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
MAINTAINER= nivit@FreeBSD.org
-COMMENT= A RDF editor
+COMMENT= RDF editor
-LIB_DEPENDS= nxml.18:${PORTSDIR}/textproc/libnxml \
- rdf.0:${PORTSDIR}/textproc/redland \
- raptor2.0:${PORTSDIR}/textproc/raptor2 \
- curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libnxml.so:${PORTSDIR}/textproc/libnxml \
+ librdf.so:${PORTSDIR}/textproc/redland \
+ libraptor2.so:${PORTSDIR}/textproc/raptor2 \
+ libcurl.so:${PORTSDIR}/ftp/curl
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
@@ -29,8 +29,6 @@ USES= gettext pkgconfig
USE_GNOME= gconf2 libgtkhtml libxslt
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
-MAN1= morla.1
-
DESKTOP_ENTRIES="morla" \
"Edit RDF documents" \
"${DATADIR}/icons/128_color.png" \
@@ -38,18 +36,12 @@ DESKTOP_ENTRIES="morla" \
"WebDevelopment;" \
true
-NO_STAGE= yes
+XULRUNNER_USES= gecko
+XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner
+XULRUNNER_CONFIGURE_OFF= --with-javascript=none
+
post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MXULRUNNER}
-USE_GECKO= libxul
-CONFIGURE_ARGS+= --with-javascript=xulrunner
-.else
-CONFIGURE_ARGS+= --with-javascript=none
-.endif
-
.include <bsd.port.mk>
diff --git a/editors/morla/pkg-plist b/editors/morla/pkg-plist
index 83839f221a9b..34b6b86e615c 100644
--- a/editors/morla/pkg-plist
+++ b/editors/morla/pkg-plist
@@ -4,7 +4,7 @@ lib/morla/index.xml
lib/morla/libmorla_test.a
lib/morla/libmorla_test.la
lib/morla/libmorla_test.so
-libdata/ldconfig/morla
+man/man1/morla.1.gz
share/locale/it/LC_MESSAGES/morla.mo
%%DATADIR%%/bootsplash.png
%%DATADIR%%/icons/128_BN.png