aboutsummaryrefslogtreecommitdiff
path: root/editors/morla
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-26 07:28:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-26 07:28:58 +0000
commit794ce299b1cc4fdf17e8be11df8dd4017a8f4a3e (patch)
tree3f78079cadbc6b7162b6a1662001ae268289a2c7 /editors/morla
parent86deca836c8a754481255ba394b6b8334a139c7b (diff)
downloadports-794ce299b1cc4fdf17e8be11df8dd4017a8f4a3e.tar.gz
ports-794ce299b1cc4fdf17e8be11df8dd4017a8f4a3e.zip
Notes
Diffstat (limited to 'editors/morla')
-rw-r--r--editors/morla/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/editors/morla/Makefile b/editors/morla/Makefile
index 777c217f43e8..d228ba9b6787 100644
--- a/editors/morla/Makefile
+++ b/editors/morla/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: morla
-# Date created: 2006-04-09
-# Whom: Nicola Vitale <nivit@email.it>
-#
+# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
-#
PORTNAME= morla
PORTVERSION= 0.16.1
@@ -22,7 +18,8 @@ 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
+OPTIONS_DEFINE= XULRUNNER
+XULRUNNER_DESC= Xulrunner as JavaScript engine
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -45,13 +42,13 @@ post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_XULRUNNER)
+.if ${PORT_OPTIONS:MXULRUNNER}
USE_GECKO= libxul19
CONFIGURE_ARGS+= --with-javascript=xulrunner
.else
CONFIGURE_ARGS+= --with-javascript=none
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>