summary refs log tree commit diff
path: root/mail/bubger/Makefile
blob: aa3e7a05046e1f1a9e95c285d17c91aebb2a97d6 (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
PORTNAME=	bubger
PORTVERSION=	1.0a
CATEGORIES=	mail
MASTER_SITES=	https://git.causal.agency/bubger/snapshot/

MAINTAINER=	june@causal.agency
COMMENT=	IMAP archive generator

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

LIB_DEPENDS=	libtls.so:security/libretls

USES=	iconv pkgconfig
CFLAGS+=	-I${ICONV_PREFIX}/include
LDFLAGS+=	-L${ICONV_PREFIX}/lib ${ICONV_LIB}

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

PLIST_FILES=	bin/bubger \
		man/man1/bubger.1.gz

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bubger

.include <bsd.port.mk>