blob: c01af7819fee44670a232c7ee09a2eec3d286447 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.2 2015/10/01 21:32:00 kamil Exp $
DISTNAME= logswan-1.01
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITE_GITHUB:=fcambus/logswan/}
COMMENT= Fast Web log analyzer using probabilistic data structures
LICENSE= modified-bsd
USE_CMAKE= yes
SUBST_CLASSES+= geoip
SUBST_STAGE.geoip= post-patch
SUBST_FILES.geoip+= src/logswan.c
SUBST_SED.geoip+= -e 's,/usr/local,${PREFIX},g'
DOCDIR= share/doc/logswan
EGDIR= share/examples/logswan
CONF_FILES+= ${EGDIR}/logswan.json ${PKG_SYSCONFDIR}/logswan.json
AUTO_MKDIRS= yes
post-install:
.for f in AUTHORS README.md THANKS TODO
${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
${RUN}${INSTALL_DATA} ${WRKSRC}/examples/logswan.json \
${DESTDIR}${PREFIX}/${EGDIR}
.include "../../textproc/jansson/buildlink3.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|