openbsd-ports/www/netsurf/Makefile.inc
2013-05-16 20:48:53 +00:00

39 lines
929 B
Makefile

# $OpenBSD: Makefile.inc,v 1.8 2013/05/16 20:48:53 rpe Exp $
CATEGORIES += www
# child ports MUST define NETSURF_{PROJECT,VERSION}
PKGNAME ?= ${NETSURF_PROJECT}-${NETSURF_VERSION}
DISTNAME ?= ${NETSURF_PROJECT}-${NETSURF_VERSION}-src
MAINTAINER ?= Anthony J. Bentley <anthony@cathet.us>
HOMEPAGE ?= http://www.netsurf-browser.org/projects/${NETSURF_PROJECT}/
MASTER_SITES ?= http://download.netsurf-browser.org/libs/releases/
WRKDIST ?= ${WRKDIR}/${DISTNAME:S/-src//}
# MIT for libs / GPLv2 for netsurf
PERMIT_PACKAGE_CDROM= Yes
DESTDIRNAME = ${DESTDIR}
TEST_TARGET =test
USE_GMAKE = Yes
# not used for browser
.for _l _v in ${SHARED_LIBS}
MAKE_FLAGS += COMPONENT_TYPE=lib-shared \
NS_LIB_VERSION=${_v}
.endfor
.if ${NETSURF_PROJECT} != "buildsystem"
BUILD_DEPENDS += www/netsurf/buildsystem
MAKE_FLAGS += Q= \
VQ= \
CCOPT= \
CXXOPT= \
CCACHE= \
NSSHARED=${LOCALBASE}/share/netsurf-buildsystem
.endif