1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/devel/nsgenbind/Makefile
2024-02-16 10:24:27 -08:00

28 lines
692 B
Makefile

PORTNAME= nsgenbind
PORTVERSION= 0.9
CATEGORIES= devel
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= nc@FreeBSD.org
COMMENT= NetSurf Generator for JavaScript bindings
WWW= https://www.netsurf-browser.org/
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+= BUILD_CC="${CC}" \
COMPONENT_TYPE="lib-shared" \
FLEX="${LOCALBASE}/bin/flex"
PLIST_FILES= bin/nsgenbind
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>