28 lines
546 B
Makefile

# $OpenBSD: Makefile,v 1.5 2020/11/18 19:43:26 sthen Exp $
COMMENT = websocket library
V = 1.1.1
DISTNAME = wslay-$V
SHARED_LIBS += wslay 0.0 # 1.0
CATEGORIES = www
HOMEPAGE = https://tatsuhiro-t.github.io/wslay/
# MIT
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/tatsuhiro-t/wslay/releases/download/release-$V/
BUILD_DEPENDS = devel/cunit
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
DEBUG_PACKAGES = ${BUILD_PACKAGES}
.include <bsd.port.mk>