From f70e0e3c10b7ae6f98eef3c631f98731277c3cdc Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sun, 22 Feb 2004 10:10:44 +0000 Subject: [PATCH] Unbreak by preventing install from putting latte.el into root directory; run strip; fix plist. Also, reset maintainer. This port has been broken for quite some time, and I've never gotten any response to multiple emails about it. PR: ports/62781 Submitted by: Volker Stolz --- textproc/latte/Makefile | 8 +++----- textproc/latte/files/patch-Makefile.in | 19 +++++++++++++++++++ textproc/latte/pkg-plist | 1 + 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 textproc/latte/files/patch-Makefile.in diff --git a/textproc/latte/Makefile b/textproc/latte/Makefile index d8d4cd6ec708..5f8713eef642 100644 --- a/textproc/latte/Makefile +++ b/textproc/latte/Makefile @@ -7,22 +7,20 @@ PORTNAME= latte PORTVERSION= 1.1 -CATEGORIES= textproc +CATEGORIES= textproc MASTER_SITES= http://www.latte.org/ \ ftp://ftp.brasslantern.com/pub/zanshin/latte/ -MAINTAINER= nc-rotherdo@netcologne.de +MAINTAINER= ports@FreeBSD.org COMMENT= Simple language for marking up text in a very expressive way -BROKEN= "Installs latte.el in /" - USE_LIBTOOL= yes MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}" CONFIGURE_ARGS+= --enable-shared post-install: - ${STRIP_CMD} ${PREFIX}/bin/latte-html ${LN} -sf ${PREFIX}/bin/latte-html ${PREFIX}/bin/latte ${CP} -Rp ${WRKSRC}/tests ${PREFIX}/share/latte/ + ${INSTALL_DATA} ${WRKSRC}/latte.el ${PREFIX}/share/emacs/site-lisp .include diff --git a/textproc/latte/files/patch-Makefile.in b/textproc/latte/files/patch-Makefile.in new file mode 100644 index 000000000000..dabc9ebb5374 --- /dev/null +++ b/textproc/latte/files/patch-Makefile.in @@ -0,0 +1,19 @@ +--- Makefile.in.bak Wed Nov 11 07:58:13 1998 ++++ Makefile.in Fri Feb 13 11:03:24 2004 +@@ -345,16 +345,6 @@ + + install-lispLISP: $(lisp_LISP) $(ELCFILES) + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(lispdir) +- @list='$(lisp_LISP)'; for p in $$list; do \ +- if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ +- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$p"; \ +- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$p; \ +- if test -f $${p}c; then \ +- echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${p}c"; \ +- $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${p}c; \ +- else : ; fi; \ +- done + + uninstall-lispLISP: + @$(NORMAL_UNINSTALL) diff --git a/textproc/latte/pkg-plist b/textproc/latte/pkg-plist index 41c870e6a9cc..e852a171a68a 100644 --- a/textproc/latte/pkg-plist +++ b/textproc/latte/pkg-plist @@ -107,6 +107,7 @@ share/latte/tests/varref.exp share/latte/tests/varref.latte share/latte/tests/while.exp share/latte/tests/while.latte +share/emacs/site-lisp/latte.el @dirrm include/latte @dirrm share/latte/tests @dirrm share/latte