[29888] trunk/dports/textproc/scrollkeeper

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 06:48:57 PDT 2007


Revision: 29888
          http://trac.macosforge.org/projects/macports/changeset/29888
Author:   nox at macports.org
Date:     2007-10-14 06:48:57 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
scrollkeeper:
 * ScrollKeeper database is now built in activate stage only,
   this prevents a destroot fail when scrollkeeper is installed for the first time.
 * Fixed omfdirs path.

Modified Paths:
--------------
    trunk/dports/textproc/scrollkeeper/Portfile

Added Paths:
-----------
    trunk/dports/textproc/scrollkeeper/files/
    trunk/dports/textproc/scrollkeeper/files/patch-Makefile.in

Modified: trunk/dports/textproc/scrollkeeper/Portfile
===================================================================
--- trunk/dports/textproc/scrollkeeper/Portfile	2007-10-14 13:02:12 UTC (rev 29887)
+++ trunk/dports/textproc/scrollkeeper/Portfile	2007-10-14 13:48:57 UTC (rev 29888)
@@ -4,7 +4,7 @@
 
 name		scrollkeeper
 version		0.3.14
-revision    5
+revision    6
 description	An Open Document Cataloging Project.
 long_description	\
 	ScrollKeeper is a cataloging system for documentation on open systems. \
@@ -38,20 +38,18 @@
 	port:pkgconfig \
     port:perl5.8 \
     port:p5-xml-parser
-	
+
+patchfiles      patch-Makefile.in
+
 destroot.keepdirs	\
-	${destroot}/${prefix}/var/log \
-	${destroot}/${prefix}/var/lib/scrollkeeper
+	${destroot}${prefix}/var/log \
+	${destroot}${prefix}/var/lib/scrollkeeper
 
 configure.args	\
 	--mandir=${prefix}/share/man \
+    --with-omfdirs=${prefix}/share/omf \
 	--with-xml-catalog=${prefix}/etc/xml/catalog
 
-post-destroot	{
-	delete ${destroot}/${prefix}/var/lib/scrollkeeper/*
-	delete ${destroot}/${prefix}/var/log/scrollkeeper.log
-}
-
 post-activate	{
     system "${prefix}/bin/scrollkeeper-update"
 }

Added: trunk/dports/textproc/scrollkeeper/files/patch-Makefile.in
===================================================================
--- trunk/dports/textproc/scrollkeeper/files/patch-Makefile.in	                        (rev 0)
+++ trunk/dports/textproc/scrollkeeper/files/patch-Makefile.in	2007-10-14 13:48:57 UTC (rev 29888)
@@ -0,0 +1,27 @@
+--- Makefile.in.orig	2007-10-10 21:00:29.000000000 +0200
++++ Makefile.in	2007-10-10 21:00:49.000000000 +0200
+@@ -611,7 +611,6 @@
+ 
+ install-data-am: install-scrollkeeperdocDATA
+ 	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ 
+ install-exec-am:
+ 
+@@ -668,16 +667,6 @@
+ dist-hook: scrollkeeper.spec
+ 	cp scrollkeeper.spec $(distdir)
+ 
+-# Build/rebuild the catalog
+-install-data-hook:
+-	rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)
+-	$(mkinstalldirs) $(DESTDIR)$(scrollkeeper_localstate_dir)
+-	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
+-	PATH="$(PATH):$(DESTDIR)$(bindir)" ; \
+-		echo "`date +\"%b %d %X\"` Installing ScrollKeeper `scrollkeeper-config --version`..." >> $(DESTDIR)$(localstatedir)/log/scrollkeeper.log
+-	PATH="$(PATH):$(DESTDIR)$(bindir)" ; \
+-		$(DESTDIR)$(bindir)/scrollkeeper-rebuilddb -q -p $(DESTDIR)$(scrollkeeper_localstate_dir)
+-
+ # Remove generated files
+ uninstall-local:
+ 	-rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071014/0a91c08f/attachment.html


More information about the macports-changes mailing list