aboutsummaryrefslogtreecommitdiff
path: root/mail/mu/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-30 22:45:03 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-30 22:45:03 +0000
commit39eb07a714b8089a350f52fb618403f38492db6f (patch)
tree297f75bcf4f8d7bcf9c05d8d362dc1687df5594e /mail/mu/Makefile
parent3064db6406a3e7e2c43afb581ccc3f38b03839cc (diff)
downloadports-39eb07a714b8089a350f52fb618403f38492db6f.tar.gz
ports-39eb07a714b8089a350f52fb618403f38492db6f.zip
Notes
Diffstat (limited to 'mail/mu/Makefile')
-rw-r--r--mail/mu/Makefile53
1 files changed, 31 insertions, 22 deletions
diff --git a/mail/mu/Makefile b/mail/mu/Makefile
index 8f8dc233a256..22b7d3502c71 100644
--- a/mail/mu/Makefile
+++ b/mail/mu/Makefile
@@ -2,38 +2,47 @@
# $FreeBSD$
PORTNAME= mu
-PORTVERSION= 0.9.9
-PORTREVISION= 1
+PORTVERSION= 0.9.9.6
CATEGORIES= mail
-MASTER_SITES= http://mu0.googlecode.com/files/
+MASTER_SITES= GH
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Mail searching frontend for Xapian
LICENSE= GPLv3
LIB_DEPENDS= libxapian.so:${PORTSDIR}/databases/xapian-core \
- libgmime.so:${PORTSDIR}/mail/gmime24
+ libgmime-2.6.so:${PORTSDIR}/mail/gmime26
-GNU_CONFIGURE= yes
-USES= pkgconfig gmake
-USE_GNOME= glib20
+USE_GITHUB= yes
+GH_ACCOUNT= djcb
+GH_PROJECT= ${PORTNAME}
+GH_TAGNAME= ${PORTVERSION:S/^/v/}
+GH_COMMIT= ab58307
-MAN1= mu-cfind.1 mu-easy.1 mu-extract.1 mu-find.1 mu-index.1 \
- mu-mkdir.1 mu-view.1 mu-add.1 mu-remove.1 mu-server.1 mu.1 \
- mug.1
-MAN5= mu-bookmarks.5
+USES= gmake libtool makeinfo pkgconfig
+USE_GNOME= glib20
+USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
+AUTOMAKE_ARGS= --add-missing
+CONFIGURE_ARGS= --disable-silent-rules --disable-gtk
-CFLAGS+= -I${LOCALBASE}/include
-CXXFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --with-gui=none
-
-NO_STAGE= yes
-do-install:
- cd ${WRKSRC}/mu && ${INSTALL_PROGRAM} mu ${PREFIX}/bin
- cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask ${PREFIX}/bin
- cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
- cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
+
+OPTIONS_DEFINE= GUILE MU4E
+OPTIONS_SUB= yes
+
+GUILE_LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2
+GUILE_USE= ldconfig=yes
+GUILE_CONFIGURE_ENABLE= guile
+GUILE_INFO= mu-guile
+MU4E_DESC= Email cluent for Emacs
+MU4E_USE= emacs=yes
+MU4E_CONFIGURE_ENABLE= mu4e
+MU4E_INFO= mu4e
+
+post-install:
+ (cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask \
+ ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>