summary refs log tree commit diff
path: root/FreeBSD/mail/bubger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'FreeBSD/mail/bubger/Makefile')
-rw-r--r--FreeBSD/mail/bubger/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/FreeBSD/mail/bubger/Makefile b/FreeBSD/mail/bubger/Makefile
new file mode 100644
index 0000000..9f6d98f
--- /dev/null
+++ b/FreeBSD/mail/bubger/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	bubger
+DISTVERSION=	1.1
+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>