[csw-devel] SF.net SVN: gar:[10144] csw/mgar/pkg/file/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Jun 9 00:09:33 CEST 2010


Revision: 10144
          http://gar.svn.sourceforge.net/gar/?rev=10144&view=rev
Author:   wahwah
Date:     2010-06-08 22:09:33 +0000 (Tue, 08 Jun 2010)

Log Message:
-----------
file: Renaming CSWfile to CSWgfile.

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

Property Changed:
----------------
    csw/mgar/pkg/file/trunk/Makefile

Modified: csw/mgar/pkg/file/trunk/Makefile
===================================================================
--- csw/mgar/pkg/file/trunk/Makefile	2010-06-08 21:58:09 UTC (rev 10143)
+++ csw/mgar/pkg/file/trunk/Makefile	2010-06-08 22:09:33 UTC (rev 10144)
@@ -22,16 +22,18 @@
 TEST_TARGET = check
 PATCHFILES += 0001-libtool-dir-used-for-linking.patch
 PATCHFILES += 0002-CSW-runpath.patch
-PACKAGES = CSWfile CSWlibmagic CSWpy-libmagic
-PKGFILES_CSWfile += $(bindir)/file
-PKGFILES_CSWfile += $(mandir)/man1/file\.1
+PACKAGES += CSWgfile
+PACKAGES += CSWlibmagic
+PACKAGES += CSWpy-libmagic
+PKGFILES_CSWgfile += $(bindir)/gfile
+PKGFILES_CSWgfile += $(mandir)/man1/gfile\.1
 PKGFILES_CSWpy-libmagic += /opt/csw/lib/python.*
-SPKG_DESC_CSWfile = A file type guesser
+SPKG_DESC_CSWgfile = A file type guesser
 SPKG_DESC_CSWlibmagic = The library behind file(1)
 SPKG_DESC_CSWpy-libmagic = Python extension for libmagic
 CATALOGNAME_CSWpy-libmagic = py_libmagic
-RUNTIME_DEP_PKGS_CSWfile += CSWlibmagic
-RUNTIME_DEP_PKGS_CSWfile += CSWzlib
+RUNTIME_DEP_PKGS_CSWgfile += CSWlibmagic
+RUNTIME_DEP_PKGS_CSWgfile += CSWzlib
 RUNTIME_DEP_PKGS_CSWlibmagic += CSWzlib
 RUNTIME_DEP_PKGS_CSWpy-libmagic += CSWlibmagic
 RUNTIME_DEP_PKGS_CSWpy-libmagic += CSWpython
@@ -56,4 +58,7 @@
 post-install-modulated:
 	(cd $(WORKSRC)/python && \
 		python setup.py install --root=$(DESTDIR) --prefix=$(prefix))
+	(cd $(DESTDIR) && \
+		mv $(DESTDIR)$(bindir)/file $(DESTDIR)$(bindir)/gfile && \
+		mv $(DESTDIR)$(mandir)/man1/file\.1 $(DESTDIR)$(mandir)/man1/gfile\.1)
 	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/file/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id


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