openbsd-ports/www/netsurf/Makefile.inc
landry 7b2f43f902 Import netsurf-2.5, a very lightweight web browser for RISC OS and UNIX-like
platforms. It doesn't do javascript, but who cares about web2.0 anyway ?
Sub-projects are :
- hubbub : HTML parser
- libcss : CSS parser and selection engine
- libnsbmp : BMP/ICO decoding library
- libnsgif : GIF decoding library
- libparserutils : utility library for parser building
- libwapcaplet : string internment library

Currently SIGBUS'es on sparc64 in libcss, being worked on with upstream.

Loosely based on a submission from Anthony J Bentley, reworked by myself.
2010-06-29 20:11:13 +00:00

30 lines
748 B
Makefile

# $OpenBSD: Makefile.inc,v 1.1.1.1 2010/06/29 20:11:13 landry Exp $
CATEGORIES += www/netsurf
# child ports MUST define NETSURF_{PROJECT,VERSION}
PKGNAME ?= ${DISTNAME:S/-src//}
DISTNAME ?= ${NETSURF_PROJECT}-${NETSURF_VERSION}-src
HOMEPAGE ?= http://www.netsurf-browser.org/projects/${NETSURF_PROJECT}/
MASTER_SITES ?= http://www.netsurf-browser.org/projects/releases/
# MIT for libs / GPLv2 for netsurf
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
DESTDIRNAME = ${DESTDIR}
WRKDIST ?= ${WRKDIR}/${DISTNAME:S/-src//}
REGRESS_TARGET =test
USE_GMAKE = Yes
# not used for browser
.for _l _v in ${SHARED_LIBS}
MAKE_FLAGS += COMPONENT_TYPE=lib-shared \
LIB${_l}_VERSION=${_v}
.endfor