ports/www/simple-web-server/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

30 lines
868 B
Makefile

PORTNAME= simple-web-server
DISTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= www devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= HTTP and HTTPS server and client library
WWW= https://gitlab.com/eidheim/Simple-Web-Server
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
USES= cmake compiler:c++11-lang
USE_GITLAB= yes
GL_ACCOUNT= eidheim
GL_PROJECT= Simple-Web-Server
GL_TAGNAME= 0f8b26ff19d757db039d6f70e252219326cc3d8f
NO_ARCH= yes
NO_BUILD= yes
do-test: # one testcase is known to fail: https://gitlab.com/eidheim/Simple-Web-Server/-/issues/294
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>