Date: Thu, 5 Mar 2009 15:26:48 GMT From: Gabor PALI <pgj@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132338: [UPDATE] devel/lhs2TeX -- Fix NOPORTDATA issues Message-ID: <200903051526.n25FQmTs000943@www.freebsd.org> Resent-Message-ID: <200903051530.n25FU2BI022689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132338 >Category: ports >Synopsis: [UPDATE] devel/lhs2TeX -- Fix NOPORTDATA issues >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 05 15:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: 7.1-STABLE >Organization: The FreeBSD Project >Environment: n/a >Description: - Fix problems with handling PORTDATA when NOPORTDATA defined (as reported by Q.A. Tindy) >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/lhs2TeX/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 2 Mar 2009 16:56:42 -0000 1.5 +++ Makefile 5 Mar 2009 15:19:55 -0000 @@ -8,6 +8,7 @@ PORTNAME= lhs2tex PORTVERSION= 1.14 +PORTREVISION= 1 CATEGORIES= devel haskell MASTER_SITES= http://people.cs.uu.nl/andres/${PORTNAME}/ @@ -32,10 +33,14 @@ .include <bsd.port.pre.mk> -.if defined(NOPORTDOCS) -INSTALL_TARGET=install -.else -INSTALL_TARGET=install install-doc +INSTALL_TARGET= install + +.if !defined(NOPORTDOCS) +INSTALL_TARGET+= install-doc +.endif + +.if !defined(NOPORTDATA) +INSTALL_TARGET+= install-data .endif MAN1= lhs2TeX.1 Index: files/patch-Makefile =================================================================== RCS file: /home/pcvs/ports/devel/lhs2TeX/files/patch-Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile --- files/patch-Makefile 1 May 2007 11:16:09 -0000 1.1 +++ files/patch-Makefile 5 Mar 2009 15:19:55 -0000 @@ -1,6 +1,6 @@ ---- ./Makefile.orig Wed Apr 25 22:23:20 2007 -+++ ./Makefile Wed Apr 25 22:24:00 2007 -@@ -135,14 +135,12 @@ +--- Makefile.orig 2008-10-24 10:50:41.000000000 +0200 ++++ Makefile 2009-03-04 11:19:34.000000000 +0100 +@@ -135,14 +135,9 @@ print : Lhs2TeX.dvi $(DVIPS) -D600 -f Lhs2TeX.dvi | lpr -Pa -Zl @@ -8,22 +8,27 @@ +install : bin $(MKINSTDIR) $(DESTDIR)$(bindir) $(INSTALL) -m 755 lhs2TeX $(DESTDIR)$(bindir) - $(MKINSTDIR) $(DESTDIR)$(stydir) - $(INSTALL) -m 644 lhs2TeX.sty lhs2TeX.fmt $(DESTDIR)$(stydir) - $(INSTALL) -m 644 Library/*.fmt $(DESTDIR)$(stydir) +- $(MKINSTDIR) $(DESTDIR)$(stydir) +- $(INSTALL) -m 644 lhs2TeX.sty lhs2TeX.fmt $(DESTDIR)$(stydir) +- $(INSTALL) -m 644 Library/*.fmt $(DESTDIR)$(stydir) - $(MKINSTDIR) $(DESTDIR)$(docdir) - $(INSTALL) -m 644 doc/Guide2.pdf $(DESTDIR)$(docdir) $(MKINSTDIR) $(DESTDIR)$(mandir)/man1 $(INSTALL) -m 644 lhs2TeX.1 $(DESTDIR)$(mandir)/man1 ifeq ($(INSTALL_POLYTABLE),yes) -@@ -157,6 +155,10 @@ - else +@@ -158,6 +153,15 @@ echo "Please update the TeX filename database." endif -+ + +install-doc : doc + $(MKINSTDIR) $(DESTDIR)$(docdir) + $(INSTALL) -m 644 doc/Guide2.pdf $(DESTDIR)$(docdir) - ++ ++install-data : bin ++ $(MKINSTDIR) $(DESTDIR)$(stydir) ++ $(INSTALL) -m 644 lhs2TeX.sty lhs2TeX.fmt $(DESTDIR)$(stydir) ++ $(INSTALL) -m 644 Library/*.fmt $(DESTDIR)$(stydir) ++ srcdist : INSTALL doc if test -d $(DISTDIR); then $(RM) -rf $(DISTDIR); fi + $(MKINSTDIR) $(DISTDIR) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903051526.n25FQmTs000943>