summary refs log tree commit diff
path: root/mail/bubger/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-08 23:36:03 +0000
committerJune McEnroe <june@causal.agency>2021-03-08 23:36:03 +0000
commita44e20f4b39843b7fb3449dcddb1238bb2bde77f (patch)
treeab93076d847f3804d1942d7ece30e55387d881f6 /mail/bubger/Makefile
parentUpdate catsit to 1.3 (diff)
downloadports-a44e20f4b39843b7fb3449dcddb1238bb2bde77f.tar.gz
ports-a44e20f4b39843b7fb3449dcddb1238bb2bde77f.zip
Add bubger port
Diffstat (limited to 'mail/bubger/Makefile')
-rw-r--r--mail/bubger/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/bubger/Makefile b/mail/bubger/Makefile
new file mode 100644
index 0000000..05e9033
--- /dev/null
+++ b/mail/bubger/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	bubger
+DISTVERSION=	1.0
+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>