head	1.19;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2;
locks; strict;
comment	@# @;


1.19
date	2013.01.23.15.05.38;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.06.07.22.44.21;	author pawel;	state Exp;
branches;
next	1.16;

1.16
date	2012.06.01.05.24.58;	author dinoex;	state Exp;
branches;
next	1.15;

1.15
date	2012.05.10.14.17.33;	author pawel;	state Exp;
branches;
next	1.14;

1.14
date	2011.12.29.15.18.58;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2011.10.18.21.09.35;	author ehaupt;	state Exp;
branches;
next	1.12;

1.12
date	2010.05.10.21.18.48;	author kwm;	state Exp;
branches;
next	1.11;

1.11
date	2010.04.03.10.44.34;	author roam;	state Exp;
branches;
next	1.10;

1.10
date	2010.03.28.06.44.57;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2010.02.05.11.45.00;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2009.11.21.15.29.43;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.09.19.46.42;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.31.13.56.31;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2009.01.23.15.43.10;	author roam;	state Exp;
branches;
next	1.4;

1.4
date	2008.09.07.00.18.53;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2008.06.06.14.07.03;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2007.08.20.23.59.27;	author sat;	state Exp;
branches;
next	1.1;

1.1
date	2007.08.18.00.45.59;	author sat;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310871
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	netsurf
# Date created:		17 August 2007
# Whom:			Andrew Pantyukhin <infofarmer@@FreeBSD.org>
#
# $FreeBSD: head/www/netsurf/Makefile 310871 2013-01-23 15:00:18Z makc $
#

PORTNAME=	netsurf
PORTVERSION=	2.9
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	http://www.netsurf-browser.org/projects/releases/ \
		http://www.netsurf-browser.org/downloads/releases/:netsurf
DISTFILES=	${WAPCAPLET_DISTNAME}${EXTRACT_SUFX} \
		${HUBBUB_DISTNAME}${EXTRACT_SUFX} \
		${CSS_DISTNAME}${EXTRACT_SUFX} \
		${NSBMP_DISTNAME}${EXTRACT_SUFX} \
		${NSGIF_DISTNAME}${EXTRACT_SUFX} \
		${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}:netsurf
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	pawel@@FreeBSD.org
COMMENT=	A lightweight web browser

LICENSE=	GPLv2 MIT
LICENSE_COMB=	multi

BUILD_DEPENDS=	${LOCALBASE}/lib/libparserutils.a:${PORTSDIR}/devel/libparserutils
LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
		lcms.1:${PORTSDIR}/graphics/lcms \
		mng.1:${PORTSDIR}/graphics/libmng

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_GNOME=	libglade2 librsvg2 libxml2
USE_GMAKE=	yes
CFLAGS+=	-I${LOCALBASE}/include
MAKE_ENV=	PKG_CONFIG_PATH="${WRKDIR}/fakeroot/lib/pkgconfig:${LOCALBASE}/libdata/pkgconfig"
MAKE_ARGS=	HOST_CC="${CC}" CC="${CC}" CCOPT="" HOST="${OPSYS}" \
		WARNFLAGS="${CFLAGS}" Q=""
MAKE_JOBS_SAFE=	yes

DESKTOP_ENTRIES="NetSurf" "${COMMENT}" "" "${PORTNAME}" "" "true"

WAPCAPLET_DISTNAME=	libwapcaplet-0.1.1-src
HUBBUB_DISTNAME=	hubbub-0.1.2-src
CSS_DISTNAME=		libcss-0.1.2-src
NSBMP_DISTNAME=		libnsbmp-0.0.3-src
NSGIF_DISTNAME=		libnsgif-0.0.3-src

.include <bsd.port.options.mk>

post-patch:
	@@${REINPLACE_CMD} -e \
		's| -O2 | |' ${WRKSRC}/Makefile.defaults
	@@${REINPLACE_CMD} -e \
		's| -g | |' ${WRKSRC}/gtk/Makefile.target
	@@${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \
		${WRKDIR}/*/build/makefiles/Makefile.tools

do-configure:
	@@${TOUCH} ${WRKSRC}/Makefile.config
	@@${ECHO_CMD} 'NETSURF_USE_HARU_PDF=NO' >> ${WRKSRC}/Makefile.config
	@@${ECHO_CMD} 'NETSURF_USE_LIBICONV_PLUG=NO' >> ${WRKSRC}/Makefile.config
	@@${ECHO_CMD} 'NETSURF_USE_NSSVG=NO' >> ${WRKSRC}/Makefile.config
	@@${ECHO_CMD} 'NETSURF_USE_ROSPRITE=NO' >> ${WRKSRC}/Makefile.config
	@@${ECHO_CMD} 'NETSURF_USE_WEBP=NO' >> ${WRKSRC}/Makefile.config

pre-build:
	@@${MKDIR} ${WRKDIR}/fakeroot
.for dir in ${WAPCAPLET_DISTNAME:S/-src//} ${HUBBUB_DISTNAME:S/-src//} \
		${CSS_DISTNAME:S/-src//} ${NSBMP_DISTNAME} ${NSGIF_DISTNAME}
	@@${MAKE_ENV} ${GMAKE} -C${WRKDIR}/${dir} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} \
		${MAKE_ARGS} ${INSTALL_TARGET} PREFIX="${WRKDIR}/fakeroot"
.endfor

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nsgtk ${PREFIX}/bin/${PORTNAME}
	@@${MKDIR} ${DATADIR}
	@@(${TAR} --exclude "C" --exclude "*.glade" -C ${WRKSRC}/gtk/res \
		-L -cf - . | ${TAR} -C ${DATADIR} --unlink -xf -)
	@@${LN} -sf en ${DATADIR}/C
	@@(cd ${WRKSRC}/gtk/res ; \
		for i in `${LS} -d *.glade` ; do \
			 ${CAT} $$i | ${GZIP_CMD} > ${DATADIR}/$$i ; \
		done)
	@@${FIND} ${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
	@@${FIND} ${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx
	@@${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.18
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/netsurf/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
a10 1
PORTREVISION=	1
@


1.17
log
@Convert my ports to optionsNG
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- update png to 1.5.10
@
text
@d51 2
d90 1
a90 1
.if !defined(NOPORTDOCS)
@


1.15
log
@- Update to version 2.9
- Use our devel/libparserutils instead of fetching sources
- Add desktop entry
- Take maintainership
@
text
@d10 1
@


1.14
log
@- Respect CC/_MAKE_JOBS

PR:		163094
Submitted by:	Jan Beich <jbeich@@tormail.net>
@
text
@d9 1
a9 1
PORTVERSION=	2.8
d13 1
a13 2
DISTFILES=	${PARSERUTILS_DISTNAME}${EXTRACT_SUFX} \
		${WAPCAPLET_DISTNAME}${EXTRACT_SUFX} \
d21 1
a21 1
MAINTAINER=	ports@@FreeBSD.org
d27 1
d36 1
d42 5
a46 4
PARSERUTILS_DISTNAME=	libparserutils-0.1.1-src
WAPCAPLET_DISTNAME=	libwapcaplet-0.1.0-src
HUBBUB_DISTNAME=	hubbub-0.1.1-src
CSS_DISTNAME=		libcss-0.1.1-src
a58 3
	@@${TOUCH} ${WRKDIR}/${PARSERUTILS_DISTNAME:S/-src//}/Makefile.config.override
	@@${ECHO_CMD} 'CFLAGS+=-DWITH_ICONV_FILTER' >> ${WRKDIR}/${PARSERUTILS_DISTNAME:S/-src//}/Makefile.config.override
	@@${ECHO_CMD} 'CFLAGS+=-I${LOCALBASE}/include' >> ${WRKDIR}/${PARSERUTILS_DISTNAME:S/-src//}/Makefile.config.override
d68 2
a69 3
.for dir in ${PARSERUTILS_DISTNAME:S/-src//} ${WAPCAPLET_DISTNAME} \
	${HUBBUB_DISTNAME:S/-src//} ${CSS_DISTNAME:S/-src//} \
	${NSBMP_DISTNAME} ${NSGIF_DISTNAME}
@


1.13
log
@Update to 2.8

PR:		161644
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
@
text
@d37 1
a37 1
MAKE_ARGS=	CC="${CC}" CCOPT="" TARGET="gtk" HOST="${OPSYS}" \
d53 2
d72 2
a73 2
	@@(cd ${WRKDIR}/${dir} && ${SETENV} PREFIX="${WRKDIR}/fakeroot" \
		${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
@


1.12
log
@Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .

This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.

Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.

Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.

This release features commits by avl, ahze, bland, marcus, mezz, and myself.

The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.

And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin

and ITetcu for two exp-run

PR:	ports/143852
	ports/145347
	ports/144980
	ports/145830
	ports/145511
@
text
@d9 1
a9 3
PORTVERSION=	1.1
DISTVERSIONSUFFIX=	-src
PORTREVISION=	6
d11 10
a20 1
MASTER_SITES=	http://www.netsurf-browser.org/download/ CENKES
d25 2
a26 4
BUILD_DEPENDS=	lemon:${PORTSDIR}/devel/lemon \
		re2c:${PORTSDIR}/devel/re2c
LIB_DEPENDS=	mng.1:${PORTSDIR}/graphics/libmng \
		curl.6:${PORTSDIR}/ftp/curl
d28 7
d36 11
a46 9
USE_GNOME=	libglade2 libxml2
MAKEFILE=	makefile
ALL_TARGET=	gtk
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
MAKE_ARGS=	CC="${CC}" SYSTEM_CC="${CC}" WARNFLAGS=

post-extract:
	@@cd ${WRKSRC}/gtk/&&${CP} -RL res resderef
	@@cd ${WRKSRC}/&&${MV} ChangeLog ReadMe Docs/
d49 15
a63 3
	@@${REINPLACE_CMD} -e 's|	@@|	|;s|-O |$${CFLAGS}|'\
		-e 's|-DGTK_DISABLE_DEPRECATED||g' \
		${WRKSRC}/makefile
d66 7
a72 4
	@@${LN} -sf ${LOCALBASE}/share/lemon/lempar.c ${WRKSRC}/css/
	@@${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/${PORTNAME}
	@@${ECHO_CMD} 'export NETSURFRES=${DATADIR}/;exec ${PREFIX}/libexec/${PORTNAME}'\
		>> ${WRKSRC}/${PORTNAME}
d75 16
a90 6
	@@${INSTALL_PROGRAM} ${WRKSRC}/nsgtk ${PREFIX}/libexec/${PORTNAME}
	@@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
	@@cd ${WRKSRC}/gtk/resderef/&&${COPYTREE_SHARE} . ${DATADIR}/
.ifndef NOPORTDOCS
	@@${INSTALL} -d ${DOCSDIR}/
	@@cd ${WRKSRC}/Docs/&&${INSTALL_DATA} * ${DOCSDIR}/
@


1.11
log
@Chase the ftp/curl shlib version bump.
@
text
@d36 1
@


1.10
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d11 1
a11 1
PORTREVISION=	5
d21 1
a21 1
		curl.5:${PORTSDIR}/ftp/curl
@


1.9
log
@- update to jpeg-8
@
text
@d11 1
a11 1
PORTREVISION=	4
@


1.8
log
@- Unbreak and fix Build

PR:		140743
Submitted by:	Klaus T Aehlig <aehlig@@linta.de>
@
text
@d11 1
a11 1
PORTREVISION=	3
@


1.7
log
@- Mark BROKEN: does not compile

Reported by:	pointyhat
@
text
@a22 2
BROKEN=		does not compile

@


1.6
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d23 2
@


1.5
log
@Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
@
text
@d11 1
a11 1
PORTREVISION=	2
@


1.4
log
@Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d11 1
a11 1
PORTREVISION=	1
d21 1
a21 1
		curl.4:${PORTSDIR}/ftp/curl
@


1.3
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d15 1
a15 1
MAINTAINER=	infofarmer@@FreeBSD.org
@


1.2
log
@- Remove "-fgnu89-inline" to pacify gcc 3.x

Reported by:	pointyhat via kris
@
text
@d11 1
@


1.1
log
@Add port www/netsurf:

NetSurf is a lightweight cross-platform Web browser. It supports the
HTML 4 and CSS standards and provides a small, fast, and comprehensive
Web browsing solution. NetSurf was originally written for RISC OS.

WWW: http://www.netsurf-browser.org/
@
text
@a25 1
CFLAGS+=	-fgnu89-inline
@

