pkgsrc/www/kazehakase/Makefile

49 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.52 2012/10/28 06:30:19 asau Exp $
#
DISTNAME= kazehakase-0.5.8
PKGREVISION= 19
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=kazehakase/43802/}
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://kazehakase.sourceforge.jp/
COMMENT= Web browser with multiple layout engines support
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
# needed for kazehakase-0.5 and gtk2-2.20 -- remove on next update!
BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED
BUILDLINK_TRANSFORM+= rm:-DGDK_DISABLE_DEPRECATED
BUILDLINK_TRANSFORM+= rm:-DGDK_PIXBUF_DISABLE_DEPRECATED
BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED
.include "options.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
PKG_SYSCONFSUBDIR= kazehakase
EGDIR= ${PREFIX}/share/examples/kazehakase
EGFILES= bookmarkbar.xml bookmarks.xml kz-ui-beginner.xml \
kz-ui-bookmarks.xml kz-ui-expert.xml kz-ui-medium.xml \
kzrc proxyrc smartbookmarks.xml
.for f in ${EGFILES}
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
MAKE_DIRS+= ${PKG_SYSCONFDIR}/mozilla
CONF_FILES+= ${EGDIR}/mozilla/encodings.xml ${PKG_SYSCONFDIR}/mozilla/encodings.xml
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"