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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Jul 9 15:19:22 CEST 2012


Revision: 18679
          http://gar.svn.sourceforge.net/gar/?rev=18679&view=rev
Author:   pfelecan
Date:     2012-07-09 13:19:22 +0000 (Mon, 09 Jul 2012)
Log Message:
-----------
kakasi/trunk: split in sub-packages

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

Modified: csw/mgar/pkg/kakasi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/kakasi/trunk/Makefile	2012-07-09 12:51:52 UTC (rev 18678)
+++ csw/mgar/pkg/kakasi/trunk/Makefile	2012-07-09 13:19:22 UTC (rev 18679)
@@ -16,8 +16,35 @@
 GARCOMPILER		=	GNU
 CONFIGURE_ARGS	=	$(DIRPATHS)
 
+PACKAGES							+=	CSWkakasi
+CATALOGNAME_CSWkakasi				=	kakasi
+SPKG_DESC_CSWkakasi					+=	$(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWkakasi			+=	CSWlibkakasi2
+
+PACKAGES							+=	CSWlibkakasi2
+CATALOGNAME_CSWlibkakasi2			=	libkakasi2
+PKGFILES_CSWlibkakasi2				+=	$(call baseisadirs,$(libdir),libkakasi\.so\.2\.1\.0)
+PKGFILES_CSWlibkakasi2				+=	$(call baseisadirs,$(libdir),libkakasi\.so\.2(\.\d+)*)
+PKGFILES_CSWlibkakasi2				+=	/opt/csw/share/kakasi/.*
+
+SPKG_DESC_CSWlibkakasi2				+=	$(DESCRIPTION), libkakasi.so.2
+
+PACKAGES							+=	CSWkakasi-dev
+CATALOGNAME_CSWkakasi-dev			=	kakasi_dev
+SPKG_DESC_CSWkakasi-dev				+=	$(DESCRIPTION), development files
+PKGFILES_CSWkakasi-dev				+=	/opt/csw/lib/libkakasi.so
+PKGFILES_CSWkakasi-dev				+=	$(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWkakasi-dev		+=	CSWlibkakasi2
+CHECKPKG_OVERRIDES_CSWkakasi-dev	+=	surplus-dependency|CSWtetex
+ARCHALL_CSWkakasi-dev				=	1
+
 include gar/category.mk
 
+post-install-modulated:
+	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(mandir)/man1
+	ginstall --preserve-timestamps --mode=u=rwx,go=r $(WORKSRC)/doc/kakasi.1 $(DESTDIR)/$(mandir)/man1
+	$(MAKECOOKIE)
+
 # this is private and not available publicly
 mydependencies:
 	$(HOME)/bin/ocswdeplist --package $(NAME)

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