summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2006-06-20 14:25:59 +0000
committerMike Pagano <mpagano@gentoo.org>2006-06-20 14:25:59 +0000
commite548a051dbc213609394d72c9bfd6f5f0827fa0f (patch)
tree8e1225523f894b8bf2c251b2ba97be53479c7674 /net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch
parentmedia-video/dvd-slideshow-0.7.5 - version bump, needed for media-video/mandvd (diff)
downloadsunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.tar.gz
sunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.tar.bz2
sunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.zip
New cjc Ebuild for bug 134551, reviewed by genstef
svn path=/sunrise/; revision=152
Diffstat (limited to 'net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch')
-rw-r--r--net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch b/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch
new file mode 100644
index 000000000..036a5ed71
--- /dev/null
+++ b/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch
@@ -0,0 +1,46 @@
+--- Makefile.orig 2006-06-03 09:59:29.000000000 -0400
++++ Makefile 2006-06-03 10:27:38.000000000 -0400
+@@ -1,7 +1,7 @@
+
+-prefix=/usr/local
+-bindir=$(prefix)/bin
+-datadir=$(prefix)/share
++prefix=/usr/lib
++bindir=/usr/bin
++datadir=$(prefix)
+ docdir=$(datadir)/doc
+
+ DESTDIR=
+@@ -13,13 +13,14 @@
+ UNINSTALL=rm
+ UNINSTALL_DIR=rm -r
+
+-pkg_datadir=$(datadir)/cjc
++pkg_datadir=$(datadir)
+ pkg_docdir=$(docdir)/cjc
+
+ VERSION=1.0.0
+ SNAPSHOT=
+
+-PY_DIRS=cjc cjc/ui plugins
++PY_DIRS=cjc cjc/ui
++PY_PLUGINDIRS=plugins
+ DOCS=doc/manual.html COPYING ChangeLog README TODO
+
+ EXTRA_DIST=cjc.in cjc.py doc/manual.xml doc/Makefile
+@@ -58,9 +59,13 @@
+ $(INSTALL_DIR) $(DESTDIR)$(pkg_datadir)/$$d ; \
+ $(INSTALL_DATA) $$d/*.py $(DESTDIR)$(pkg_datadir)/$$d ; \
+ done
++ for d in $(PY_PLUGINDIRS) ; do \
++ $(INSTALL_DIR) $(DESTDIR)$(pkg_datadir)/cjc/$$d ; \
++ $(INSTALL_DATA) $$d/*.py $(DESTDIR)$(pkg_datadir)/cjc/$$d ; \
++ done
+ python -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pkg_datadir)', ddir='$(pkg_datadir)')"
+- $(INSTALL_DIR) $(DESTDIR)$(pkg_docdir)
+- $(INSTALL_DATA) $(DOCS) $(DESTDIR)$(pkg_docdir)
++# $(INSTALL_DIR) $(DESTDIR)$(pkg_docdir)
++# $(INSTALL_DATA) $(DOCS) $(DESTDIR)$(pkg_docdir)
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL) cjc.inst $(DESTDIR)$(bindir)/cjc
+