Index: head/mail/mu4e/Makefile =================================================================== --- head/mail/mu4e/Makefile (revision 494558) +++ head/mail/mu4e/Makefile (revision 494559) @@ -1,47 +1,47 @@ # $FreeBSD$ PORTNAME= mu4e PORTVERSION= 1.0 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= hrs@FreeBSD.org COMMENT= Emacs frontend for Mu LICENSE= GPLv3 -.if ${FLAVOR:U} != devel && ${FLAVOR:U} != devel_nox -# http://pkg.awarnach.mathstat.dal.ca/data/11i386-default/2018-05-30_07h36m11s/logs/errors/mu4e-emacs26-1.0_1.log -BROKEN= fails to build -.endif - RUN_DEPENDS= mu:mail/mu -USES= autoreconf emacs gmake makeinfo pkgconfig +USES= autoreconf emacs makeinfo pkgconfig USE_GITHUB= yes GH_PROJECT= mu GH_ACCOUNT= djcb GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk \ --disable-webkit \ --disable-guile \ --docdir="${DOCSDIR}" \ --enable-mu4e -INFO= mu4e -BUILD_WRKSRC= ${WRKSRC}/mu4e -INSTALL_WRKSRC= ${WRKSRC}/mu4e +INFO= ${PORTNAME} +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} +INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME} INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes + +pre-build: + ${REINPLACE_CMD} -e '/.el.elc/,/^$$/d' ${BUILD_WRKSRC}/Makefile && \ + ${ECHO_CMD} '.include "${FILESDIR}/byte-compile.mk"' \ + >> ${BUILD_WRKSRC}/Makefile post-install: cd ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e && \ ${GZIP_CMD} *.el .include Index: head/mail/mu4e/files/byte-compile.mk =================================================================== --- head/mail/mu4e/files/byte-compile.mk (nonexistent) +++ head/mail/mu4e/files/byte-compile.mk (revision 494559) @@ -0,0 +1,18 @@ +# $FreeBSD$ +.el.elc: + if test '$(EMACS)' != no; then \ + am__dir=. am__subdir_includes=''; \ + case $@ in */*) \ + am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \ + am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \ + esac; \ + test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \ + $(EMACS) --batch \ + $(AM_ELCFLAGS) $(ELCFLAGS) \ + $$am__subdir_includes -L $(builddir) -L $(srcdir) \ + --eval '(setq byte-compile-dest-file-function (lambda (_) "/tmp/$@"))' \ + -f batch-byte-compile '$<'; \ + if [ -f "/tmp/$@" ]; then \ + cp /tmp/$@ $@ && rm -f /tmp/$@; \ + fi; \ + else :; fi Property changes on: head/mail/mu4e/files/byte-compile.mk ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property