Edit

IABSD.fr/ports/www/logswan/Makefile

Branch :

  • Show log

    Commit

  • Author : fcambus
    Date : 2026-07-01 22:46:48
    Hash : 2accd0ca
    Message : Update logswan to 2.1.17.

  • www/logswan/Makefile
  • COMMENT =	fast web log analyzer using probabilistic data structures
    
    V =		2.1.17
    DISTNAME =	logswan-$V
    
    CATEGORIES =	www
    
    HOMEPAGE =	https://www.logswan.org/
    
    # BSD
    PERMIT_PACKAGE =	Yes
    
    # uses pledge()
    WANTLIB +=	c jansson m maxminddb
    
    SITES =		https://github.com/fcambus/logswan/releases/download/$V/
    
    # libmaxminddb
    COMPILER =	base-clang ports-gcc
    COMPILER_LANGS = c
    
    MODULES =	devel/cmake
    
    LIB_DEPENDS =	devel/jansson \
    		net/libmaxminddb
    
    CONFIGURE_ARGS = -DGEOIP2DIR=${LOCALSTATEDIR}/db/dbip
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/logswan
    	${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/logswan
    
    .include <bsd.port.mk>