summary refs log tree commit diff
path: root/mail/bubger/Makefile
blob: bf6f2a7640b2b2ec1a557332fbb3952e05cc17b5 (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
# $FreeBSD$

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>