openbsd-ports/devel/xulrunner/Makefile.inc
landry 1782b6d9d9 Assorted cleanups to xulrunner 1.9 port :
- rename libxul{,-embedding}.pc files to libxul19{,-embedding}.pc to
  cope with an eventual xulrunner built from latest mozilla
- move some WANTLIB-devel from Makefile.inc to 1.9/Makefile
- use BASE_PKGPATH instead of devel/xulrunner/${MOZILLA_VERSION:R:R}, as
  there might be a devel/xulrunner/last someday
- sanitize the subst regexps done on the .pc files, half of them were
  useless
- bump REVISIONs.

Tested in a full bulk build with all xulrunner users..
2012-04-07 13:10:50 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.23 2012/04/07 13:10:50 landry Exp $
COMMENT-main = standalone XUL/XPCOM runtime environment
COMMENT-devel = devel files for Gecko
PKGNAME = xulrunner-${MOZILLA_VERSION}
PKGNAME-main = xulrunner-${MOZILLA_VERSION}
PKGNAME-devel = xulrunner-devel-${MOZILLA_VERSION}
MOZILLA_CODENAME = xulrunner
CATEGORIES += devel
HOMEPAGE = http://developer.mozilla.org/en/docs/XULRunner
MULTI_PACKAGES += -main -devel
# MPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# lots of logic in mozilla.port.mk
MODULES = www/mozilla devel/gettext lang/python
MODPY_RUNDEP = No
LIB_DEPENDS-main = ${LIB_DEPENDS}
WANTLIB-main = ${WANTLIB}
LIB_DEPENDS-devel = ${MODGETTEXT_LIB_DEPENDS} \
devel/libIDL \
${PKGNAME-main}:${BASE_PKGPATH},-main
WANTLIB-devel += ${MODGETTEXT_WANTLIB} \
c glib-2.0 gobject-2.0 gthread-2.0 m pthread stdc++ \
IDL-2 nspr4 plc4 plds4
MODGNU_CONFIG_GUESS_DIRS += ${WRKSRC}/build/autoconf
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ARGS += --disable-javaxpcom \
--enable-extensions=default,cookie,permissions