openbsd-ports/www/kazehakase/Makefile
2008-11-03 16:19:55 +00:00

78 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2008/11/03 16:19:55 landry Exp $
COMMENT-main= common files for kazehakase
COMMENT-gecko= lightweight gecko-based web browser
COMMENT-webkit= kazehakase webkit backend
CATEGORIES= www
SHARED_LIBS= kazehakase 0.0 #.1.0
SHARED_ONLY= Yes
VERSION= 0.5.6
DISTNAME= kazehakase-${VERSION}
PKGNAME-main= kazehakase-common-${VERSION}
PKGNAME-gecko= ${DISTNAME}
PKGNAME-webkit= kazehakase-webkit-${VERSION}
MASTER_SITES= http://osdn.dl.sourceforge.jp/kazehakase/33533/
#doesn't work
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=kazehakase/}
HOMEPAGE= http://kazehakase.sourceforge.jp/
MAINTAINER= Landry Breuil <gaston@gcu.info>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MULTI_PACKAGES= -main -gecko -webkit
MODULES= devel/gettext \
textproc/intltool
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-gecko-engine=xulrunner \
--disable-hyper-estraier \
--without-ruby \
--without-rgettext
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib/xulrunner"
USE_LIBTOOL = Yes
FAKE_FLAGS = sysconfdir=${TRUEPREFIX}/share/examples
BUILD_DEPENDS-gecko = :xulrunner-devel->=1.8:devel/xulrunner,-devel
RUN_DEPENDS-main = ${RUN_DEPENDS} \
::devel/desktop-file-utils
RUN_DEPENDS-webkit = ${RUN_DEPENDS} \
::${BUILD_PKGPATH},-main
RUN_DEPENDS-gecko = ${RUN_DEPENDS} \
::${BUILD_PKGPATH},-main
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
LIB_DEPENDS-main = ${LIB_DEPENDS} \
gnutls::security/gnutls
LIB_DEPENDS-gecko = ${LIB_DEPENDS-main} \
lib/kazehakase/kazehakase::www/kazehakase,-main \
xulrunner/xpcom:xulrunner->=1.8:devel/xulrunner
LIB_DEPENDS-webkit = ${LIB_DEPENDS} \
webkit-1.0::www/webkit
WANTLIB = ICE SM X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
Xrandr Xrender Xcomposite Xdamage expat fontconfig \
freetype m z png cairo iconv intl atk-1.0 glib-2.0 \
gmodule-2.0 gobject-2.0 gthread-2.0 pango-1.0 \
pangocairo-1.0 pangoft2-1.0 glitz pcre pixman-1
WANTLIB-main = ${WANTLIB} c gcrypt gpg-error pthread
WANTLIB-gecko = ${WANTLIB} nspr4 plc4 plds4 gcrypt gpg-error
WANTLIB-webkit = ${WANTLIB} Xt crypto curl icudata icui18n icuuc idn \
jpeg pthread sqlite3 ssl xml2 xslt
.include <bsd.port.mk>