mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
73b2cfe472
- Add gconf2 to USE_GNOME - Add WITH_XULRUNNER option (JavaScript engine) - Remove deprecated value (Application) for key "Categories" in DESKTOP_ENTRIES
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: morla
|
|
# Date created: 2006-04-09
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= morla
|
|
PORTVERSION= 0.16
|
|
#PORTREVISION= 0
|
|
CATEGORIES= editors textproc
|
|
MASTER_SITES= http://www.morlardf.net/src/ \
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A RDF editor
|
|
|
|
LIB_DEPENDS= nxml.18:${PORTSDIR}/textproc/libnxml \
|
|
rdf.0:${PORTSDIR}/textproc/redland \
|
|
curl.4:${PORTSDIR}/ftp/curl
|
|
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= gconf2 libgtkhtml libxslt
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
|
|
|
MAN1= morla.1
|
|
|
|
DESKTOP_ENTRIES="morla" \
|
|
"Edit RDF documents" \
|
|
"${DATADIR}/icons/128_color.png" \
|
|
"morla" \
|
|
"WebDevelopment;" \
|
|
true
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
${WRKSRC}/configure
|
|
|
|
.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>
|