[csw-devel] SF.net SVN: gar:[11404] csw/mgar/pkg/fio/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Tue Oct 26 01:44:40 CEST 2010


Revision: 11404
          http://gar.svn.sourceforge.net/gar/?rev=11404&view=rev
Author:   skayser
Date:     2010-10-25 23:44:40 +0000 (Mon, 25 Oct 2010)

Log Message:
-----------
fio: add man pages and example configurations

Modified Paths:
--------------
    csw/mgar/pkg/fio/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/fio/trunk/files/0003-Install-man-pages.patch

Modified: csw/mgar/pkg/fio/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fio/trunk/Makefile	2010-10-25 23:31:31 UTC (rev 11403)
+++ csw/mgar/pkg/fio/trunk/Makefile	2010-10-25 23:44:40 UTC (rev 11404)
@@ -24,6 +24,7 @@
 
 PATCHFILES += 0001-Honour-GAR-CFLAGS-and-use-inttypes.h-instead-of-stdi.patch
 PATCHFILES += 0002-Honor-prefix-when-installing-fio.patch
+PATCHFILES += 0003-Install-man-pages.patch
 
 # CLOCK_MONOTONIC undefined / not present on Solaris 9
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
@@ -43,6 +44,11 @@
 # install target requires ginstall as install
 PATH := /opt/csw/gnu/:$(PATH)
 
+post-install-modulated:
+	mkdir -p $(PKGROOT)$(docdir)/fio/examples
+	cp $(WORKSRC)/examples/* $(PKGROOT)$(docdir)/fio/examples/
+	@$(MAKECOOKIE)
+
 # Install changelog.CSW
 post-merge: $(foreach P,$(_PKG_SPECS),install-changelog-$P)
 install-changelog-%:

Added: csw/mgar/pkg/fio/trunk/files/0003-Install-man-pages.patch
===================================================================
--- csw/mgar/pkg/fio/trunk/files/0003-Install-man-pages.patch	                        (rev 0)
+++ csw/mgar/pkg/fio/trunk/files/0003-Install-man-pages.patch	2010-10-25 23:44:40 UTC (rev 11404)
@@ -0,0 +1,23 @@
+From c65d23475d2bd592e9e6e6bbf7fa04f72bbec039 Mon Sep 17 00:00:00 2001
+From: Sebastian Kayser <skayser at opencsw.org>
+Date: Tue, 26 Oct 2010 01:36:57 +0200
+Subject: [PATCH] Install man pages
+
+---
+ Makefile.solaris |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile.solaris b/Makefile.solaris
+index d48453b..76b2ed5 100644
+--- a/Makefile.solaris
++++ b/Makefile.solaris
+@@ -51,3 +51,6 @@ cscope:
+ install: $(PROGS) $(SCRIPTS)
+ 	$(INSTALL) -m755 -d $(DESTDIR)$(bindir)
+ 	$(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)
++	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
++	$(INSTALL) -m 644 fio.1 $(DESTDIR)$(mandir)/man1
++	$(INSTALL) -m 644 fio_generate_plots.1 $(DESTDIR)$(mandir)/man1
+-- 
+1.7.3
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list