[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / midori

File: [cvs.NetBSD.org] / pkgsrc / www / midori / Makefile (download)

Revision 1.13, Thu Aug 6 06:48:11 2009 UTC (10 years, 3 months ago) by hasso
Branch: MAIN
Changes since 1.12: +4 -4 lines

Update to 0.1.9. Correct URLs. Changes since 0.1.8:

 + Preserve navigation history with new tabs
 + Implement clearing private data when quitting
 + Ellipsize and show close icons in the tab panel
 + Allow hiding panel operating controls
 + Integrate Tools with the compact menu
 + Fix User scripts, User styles and Plugins panel
 + Remove the bookmarkbar popup
 + Add New Tab to the tab context menu
 + Implement minimizing tabs

# $NetBSD: Makefile,v 1.13 2009/08/06 06:48:11 hasso Exp $

DISTNAME=	midori-0.1.9
CATEGORIES=	www
MASTER_SITES=	http://archive.xfce.org/src/apps/midori/0.1/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.twotoasts.de/index.php?/pages/midori_summary.html
COMMENT=	Lightweight web browser using WebKit
EXTRACT_SUFX=	.tar.bz2

HAS_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake intltool msgfmt pkg-config

PKG_DESTDIR_SUPPORT=	user-destdir
CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}

REPLACE_PYTHON=		waf wscript docs/api/wscript_build
REPLACE_PYTHON+=	katze/wscript_build extensions/wscript_build
REPLACE_PYTHON+=	icons/wscript_build midori/wscript_build

BUILD_DEPENDS+=		${PYPKGPREFIX}-docutils>=0.4:../../textproc/py-docutils
BUILD_DEPENDS+=		librsvg>=2.18:../../graphics/librsvg

DEPENDS+=		gnome-themes-[0-9]*:../../x11/gnome-themes

EGDIR=			${PREFIX}/share/examples/midori
OWN_DIRS=		${PKG_SYSCONFDIR}/xdg/midori
CONF_FILES=		${EGDIR}/search ${PKG_SYSCONFDIR}/xdg/midori/search

PRIVILEGED_STAGES+=	clean

# XXX stupid hack. python has a marshal.h that gets included before
# the local marshal.h
SUBST_CLASSES+=		marshal marshal2
SUBST_STAGE.marshal=	pre-configure
SUBST_MESSAGE.marshal=	Gross hack (part one) in progress
SUBST_FILES.marshal=	midori/midori-locationaction.c midori/midori-panel.c
SUBST_FILES.marshal+=	midori/midori-view.c midori/midori-searchaction.c
SUBST_FILES.marshal+=	midori/midori-browser.c
SUBST_FILES.marshal+=	katze/katze-array.c katze/katze-arrayaction.c
SUBST_SED.marshal=	-e 's/"marshal/"marshallocal/'
SUBST_STAGE.marshal2=	pre-configure
SUBST_MESSAGE.marshal2=	Gross hack (part two) in progress
SUBST_FILES.marshal2=	midori/wscript_build katze/wscript_build
SUBST_SED.marshal2=	-e s/\'marshal/\'marshallocal/

pre-configure:
	${MV} ${WRKSRC}/midori/marshal.list ${WRKSRC}/midori/marshallocal.list
	${MV} ${WRKSRC}/katze/marshal.list ${WRKSRC}/katze/marshallocal.list

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/libsexy/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.libsoup24+=libsoup24>=2.26.0
.include "../../net/libsoup24/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../x11/libunique/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"