# Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= nsgenbind PORTVERSION= 0.3 CATEGORIES= devel MASTER_SITES= http://download.netsurf-browser.org/libs/releases/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= olivierd@FreeBSD.org COMMENT= NetSurf Generator for JavaScript bindings LICENSE= MIT BUILD_DEPENDS= netsurf-buildsystem>=1.5:devel/netsurf-buildsystem \ ${LOCALBASE}/bin/flex:textproc/flex USES= bison gmake WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} MAKE_ENV+= COMPONENT_TYPE="lib-shared" \ FLEX="${LOCALBASE}/bin/flex" PLIST_FILES= bin/nsgenbind MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include