summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-03-07 23:28:38 +0000
committerminskim <minskim@pkgsrc.org>2011-03-07 23:28:38 +0000
commita665a854d9177039eab34731b19011bf52820e95 (patch)
treeb596baeefb07d87b3dd968e7d40cd63c6fcbae9a
parent592cb9d2c4ab355eb99aed3cba3e25047d04b789 (diff)
downloadpkgsrc-a665a854d9177039eab34731b19011bf52820e95.tar.gz
Let lyx install files under ${DESTDIR} on Mac OS X.
-rw-r--r--editors/lyx/distinfo3
-rw-r--r--editors/lyx/patches/patch-development_MacOSX_Makefile.in15
2 files changed, 17 insertions, 1 deletions
diff --git a/editors/lyx/distinfo b/editors/lyx/distinfo
index 26d5514361d..9aa92386f02 100644
--- a/editors/lyx/distinfo
+++ b/editors/lyx/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2010/12/01 19:34:49 drochner Exp $
+$NetBSD: distinfo,v 1.5 2011/03/07 23:28:38 minskim Exp $
SHA1 (lyx-1.6.8.tar.bz2) = caa9672e0dd6c725fcb0eb5c2bbf3ba9871935e5
RMD160 (lyx-1.6.8.tar.bz2) = bf144d8f9ab0b646f320671dded82544c9bbe83e
Size (lyx-1.6.8.tar.bz2) = 12232798 bytes
+SHA1 (patch-development_MacOSX_Makefile.in) = ae9e51e3458f8986ae392b146f8684305b7fe25b
diff --git a/editors/lyx/patches/patch-development_MacOSX_Makefile.in b/editors/lyx/patches/patch-development_MacOSX_Makefile.in
new file mode 100644
index 00000000000..3dd5dc38b9a
--- /dev/null
+++ b/editors/lyx/patches/patch-development_MacOSX_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-development_MacOSX_Makefile.in,v 1.1 2011/03/07 23:28:38 minskim Exp $
+
+Install files under $(DESTDIR) on Mac OS X.
+
+--- development/MacOSX/Makefile.in.orig 2011-03-05 04:50:39.000000000 +0000
++++ development/MacOSX/Makefile.in
+@@ -884,7 +884,7 @@ uninstall-am: uninstall-dist_binSCRIPTS
+ install-data-hook:
+ LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" $(LINGUAS)`; \
+ for f in en $$LINGUAS_ ; do \
+- mkdir -p $(pkgdatadir)/$$f.lproj ; \
++ mkdir -p $(DESTDIR)$(pkgdatadir)/$$f.lproj ; \
+ done
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.