[csw-devel] SF.net SVN: gar:[20736] csw/mgar/pkg/leocad/trunk/Makefile
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Tue Apr 16 11:54:24 CEST 2013
Revision: 20736
http://gar.svn.sourceforge.net/gar/?rev=20736&view=rev
Author: pfelecan
Date: 2013-04-16 09:54:24 +0000 (Tue, 16 Apr 2013)
Log Message:
-----------
leocad/trunk: addition of the pieces package
Modified Paths:
--------------
csw/mgar/pkg/leocad/trunk/Makefile
Modified: csw/mgar/pkg/leocad/trunk/Makefile
===================================================================
--- csw/mgar/pkg/leocad/trunk/Makefile 2013-04-16 09:09:45 UTC (rev 20735)
+++ csw/mgar/pkg/leocad/trunk/Makefile 2013-04-16 09:54:24 UTC (rev 20736)
@@ -47,6 +47,20 @@
REINPLACE_WHEN_USRSHARE = postinstall
REINPLACE_USRSHARE += /opt/csw/share/man/man1/leocad.1
+PACKAGES += CSWleocad
+CATALOGNAME_CSWleocad = leocad
+SPKG_DESC_CSWleocad += $(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWleocad += CSWleocad-pieces
+CHECKPKG_OVERRIDES_CSWleocad += surplus-dependency|CSWleocad-pieces
+
+leocadDatadir = $(datadir)/$(NAME)
+
+PACKAGES += CSWleocad-pieces
+CATALOGNAME_CSWleocad-pieces = leocad_pieces
+SPKG_DESC_CSWleocad-pieces += $(DESCRIPTION), pieces
+PKGFILES_CSWleocad-pieces = $(leocadDatadir)/library.bin
+ARCHALL_CSWleocad-pieces = 1
+
include gar/category.mk
PATH := /opt/csw/gnu:/opt/csw/libexec/flex-2.5.35/bin:$(PATH)
@@ -54,3 +68,9 @@
configure-custom:
cd $(WORKSRC) && $(MAKE) config PREFIX=$(prefix)
$(MAKECOOKIE)
+
+post-install-modulated:
+ @echo "executing $@"
+ ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(leocadDatadir)
+ ginstall --preserve-timestamps --mode=u=rwx,go=rx $(WORKDIR)/library.bin $(DESTDIR)/$(leocadDatadir)
+ $(MAKECOOKIE)
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