382df40120
PR: 231605 Subitted by: Neel Chauhan <neel@neelc.org>
28 lines
677 B
Makefile
28 lines
677 B
Makefile
# Created by: Olivier Duchateau
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nsgenbind
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= neel@neelc.org
|
|
COMMENT= NetSurf Generator for JavaScript bindings
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
|
|
|
.include <bsd.port.mk>
|