ports/62781: [patch] textproc/latte: Fix install

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Fri Feb 13 10:20:06 UTC 2004


>Number:         62781
>Category:       ports
>Synopsis:       [patch] textproc/latte: Fix install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 13 02:20:05 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
- Don't install /latte.el, use emacs/site-lisp instead and unbreak
    (make install-lisp:-target a no-op and do it ourselves)
- No need to run strip (install will already have done that)
- Pet portlint (whitespace)

Supercedes PR ports/58184 by linimon.

cc: maintainer for review/approval, please reply to GNATS
>How-To-Repeat:
>Fix:
Added file: files/patch-Makefile.in

--- latte begins here ---
diff -urN /usr/ports/textproc/latte/Makefile latte/Makefile
--- /usr/ports/textproc/latte/Makefile	Tue Oct  7 11:40:12 2003
+++ latte/Makefile	Fri Feb 13 11:02:50 2004
@@ -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 at netcologne.de
 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 <bsd.port.mk>
diff -urN /usr/ports/textproc/latte/files/patch-Makefile.in latte/files/patch-Makefile.in
--- /usr/ports/textproc/latte/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
+++ latte/files/patch-Makefile.in	Fri Feb 13 11:03:47 2004
@@ -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 -urN /usr/ports/textproc/latte/pkg-plist latte/pkg-plist
--- /usr/ports/textproc/latte/pkg-plist	Sun Feb 27 09:56:20 2000
+++ latte/pkg-plist	Fri Feb 13 10:58:46 2004
@@ -107,6 +107,7 @@
 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
--- latte ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list