[34948] trunk/dports/devel/noweb/files/patch-Makefile.diff
jmr at macports.org
jmr at macports.org
Wed Mar 12 07:02:22 PDT 2008
Revision: 34948
http://trac.macosforge.org/projects/macports/changeset/34948
Author: jmr at macports.org
Date: 2008-03-12 07:02:21 -0700 (Wed, 12 Mar 2008)
Log Message:
-----------
noweb: fix file paths. Closes #14459.
Modified Paths:
--------------
trunk/dports/devel/noweb/files/patch-Makefile.diff
Modified: trunk/dports/devel/noweb/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/noweb/files/patch-Makefile.diff 2008-03-12 13:50:11 UTC (rev 34947)
+++ trunk/dports/devel/noweb/files/patch-Makefile.diff 2008-03-12 14:02:21 UTC (rev 34948)
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-02-09 10:54:51.000000000 +0100
-+++ Makefile 2008-02-09 11:44:23.000000000 +0100
+--- Makefile.orig 2008-02-24 01:38:45.000000000 +0100
++++ Makefile 2008-02-24 02:19:05.000000000 +0100
@@ -6,9 +6,9 @@
CFLAGS=
# If you have Icon, you should use the Icon versions of the noweb pipeline.
@@ -20,23 +20,27 @@
-LIB=/usr/local/noweb/lib
-MAN=/usr/local/noweb/man
+PREFIX?=@PREFIX@
-+NOWEBPREFIX=${DESTDIR}${PREFIX}
-+BIN=${NOWEBPREFIX}/bin
-+LIB=${NOWEBPREFIX}/libexec/noweb
-+MAN=${NOWEBPREFIX}/share/man
++NOWEBPREFIX=$(DESTDIR)$(PREFIX)
++BIN=$(NOWEBPREFIX)/bin
++LIB=$(NOWEBPREFIX)/libexec/noweb
++MAN=$(NOWEBPREFIX)/share/man
MANEXT=1
MAN7EXT=7
-TEXINPUTS=/usr/local/tex/inputs
-ELISP=/dev/null
-+TEXINPUTS=${NOWEBPREFIX}/share/texmf/tex/generic/noweb
-+ELISP=${NOWEBPREFIX}/share/emacs/site-lisp
++TEXINPUTS=$(NOWEBPREFIX)/share/texmf/tex/generic/noweb
++ELISP=$(NOWEBPREFIX)/share/emacs/site-lisp
# change WEAVE if you want a different version of noweave to be installed
WEAVE=noweave
-@@ -39,6 +41,7 @@
+@@ -37,8 +39,9 @@
+ MAN7DIR=$(MAN)/man$(MAN7EXT)
+ CATDIR=$(MAN)/cat$(MANEXT)
CAT7DIR=$(MAN)/cat$(MAN7EXT)
- LIBNAME=$(LIB)
- TEXNAME=$(TEXINPUTS)
+-LIBNAME=$(LIB)
+-TEXNAME=$(TEXINPUTS)
++LIBNAME=$(PREFIX)/libexec/noweb
++TEXNAME=$(PREFIX)/share/texmf/tex/generic/noweb
+INSTALLDIR=install -d
all:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080312/bd80769d/attachment.html
More information about the macports-changes
mailing list