summary refs log tree commit diff
path: root/irc/litterbox/Makefile
blob: d41308a305dbf6b74ee5520ea66681f3d83e0498 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	litterbox
DISTVERSION=	1.5
CATEGORIES=	irc
MASTER_SITES=	https://git.causal.agency/litterbox/snapshot/

MAINTAINER=	june@causal.agency
COMMENT=	Full-text search IRC logger

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
		libtls.so:security/libretls

USES=	pkgconfig

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MANPREFIX}/man

PLIST_FILES=	bin/litterbox \
		bin/scoop \
		bin/unscoop \
		etc/rc.d/litterbox \
		man/man1/litterbox.1.gz \
		man/man1/scoop.1.gz \
		man/man1/unscoop.1.gz

post-install:
.for b in litterbox scoop unscoop
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b}
.endfor

.include <bsd.port.mk>