pkgsrc/devel/xulrunner/options.mk
ryoon 137b54288e Update to 12.0
Changelog:
* Page Source now has line numbers
* Line breaks are now supported in the title attribute
* Improvements to "Find in Page" to center search result
* URLs pasted into the download manager window are now automatically downloaded
* Support for the text-align-last CSS property has been added
* Various security fixes
* Some TinyMCE-based editors failed to load (739141)
2012-04-26 13:30:29 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.13 2012/04/26 13:30:29 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xulrunner
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome pulseaudio
PLIST_VARS+= gnome jemalloc debug
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnome)
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
CONFIGURE_ARGS+= --enable-libnotify
PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
CONFIGURE_ARGS+= --disable-libnotify
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
PLIST.jemalloc= yes
CONFIGURE_ARGS+= --enable-jemalloc
.else
CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
ALL_ENV+= PKGSRC_PULSEAUDIO=1
.endif