summaryrefslogtreecommitdiff
path: root/www/galeon/Makefile
blob: d84cf9deb4ae8e7fe5394189128852433e47c448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.6 2001/08/21 20:09:58 tron Exp $

DISTNAME=	galeon-0.11.5
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=galeon/}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://galeon.sourceforge.net/
COMMENT=	GNOME web browser based on gecko (mozilla rendering engine)

BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf
BUILD_DEPENDS+=	xml-i18n-tools-0.8.1:../../textproc/xml-i18n-tools
DEPENDS+=	mozilla>=0.9.2:../mozilla
DEPENDS+=	gnome-libs>=1.2.1:../../x11/gnome-libs
DEPENDS+=	libglade>=0.13:../../devel/libglade
DEPENDS+=	gnome-vfs>=0.6:../../sysutils/gnome-vfs
DEPENDS+=	GConf>=1.0.0:../../devel/GConf
DEPENDS+=	oaf>=0.6.5:../../devel/oaf
DEPENDS+=	libxml>=1.8.13:../../textproc/libxml
DEPENDS+=	libiconv>=1.6.1:../../converters/libiconv

USE_X11BASE=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+= --with-mozilla-includes=${PREFIX}/include/mozilla \
		 --with-mozilla-libs=${PREFIX}/lib/mozilla \
		--with-libiconv=${LOCALBASE} \
		--disable-applet \
		--sysconfdir=${PREFIX}/etc

USE_LIBINTL=	yes

MOZ_LIBDIR=     ${PREFIX}/lib/mozilla
LDFLAGS+=       -Wl,-R${MOZ_LIBDIR}
LDFLAGS+=	-export-dynamic

pre-configure:
	(cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf && ${TOUCH} aclocal.m4)

post-install:
	${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/galeon.in > ${PREFIX}/bin/galeon
	${CHOWN} ${BINOWN} ${PREFIX}/bin/galeon
	${CHGRP} ${BINGRP} ${PREFIX}/bin/galeon
	${CHMOD} ${BINMODE} ${PREFIX}/bin/galeon
	${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/lib/galeon

.include "../../mk/bsd.pkg.mk"