From 0f68acd83ecfb0a8298614da824a2f39d4a2a17f Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 2 Jul 2012 17:50:00 +0000 Subject: * Enable support of gzip- and bzip2-compressed mbox. PR: ports/169128 Submitted by: gjb Approved by: maintainer timeout --- mail/mairix/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'mail') diff --git a/mail/mairix/Makefile b/mail/mairix/Makefile index 9bbffa30cd76..fc7d422b92d7 100644 --- a/mail/mairix/Makefile +++ b/mail/mairix/Makefile @@ -22,6 +22,26 @@ MAN5= mairixrc.5 PLIST_FILES= bin/mairix %%EXAMPLESDIR%%/dotmairixrc.eg PLIST_DIRS= %%EXAMPLESDIR%% +OPTIONS_DEFINE= GZIP BZIP +GZIP_DESC= Enable gzip mbox support +BZIP_DESC= Enable bzip2 mbox support + +OPTIONS_DEFAULT= + +.include + +.if ${PORT_OPTIONS:MGZIP} +CONFIGURE_ARGS+= --enable-gzip-mbox +.else +CONFIGURE_ARGS+= --disable-gzip-mbox +.endif + +.if ${PORT_OPTIONS:MBZIP} +CONFIGURE_ARGS+= --enable-bzip-mbox +.else +CONFIGURE_ARGS+= --disable-bzip-mbox +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mairix ${PREFIX}/bin ${MKDIR} ${EXAMPLESDIR} -- cgit