[csw-devel] SF.net SVN: gar:[15607] csw/mgar/pkg/pkg-get/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Sep 11 02:46:49 CEST 2011
Revision: 15607
http://gar.svn.sourceforge.net/gar/?rev=15607&view=rev
Author: bdwalton
Date: 2011-09-11 00:46:49 +0000 (Sun, 11 Sep 2011)
Log Message:
-----------
pkg-get/trunk: add alternatives support; make rsync commands quiet
Modified Paths:
--------------
csw/mgar/pkg/pkg-get/trunk/Makefile
Modified: csw/mgar/pkg/pkg-get/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pkg-get/trunk/Makefile 2011-09-11 00:41:51 UTC (rev 15606)
+++ csw/mgar/pkg/pkg-get/trunk/Makefile 2011-09-11 00:46:49 UTC (rev 15607)
@@ -25,6 +25,11 @@
CHECKPKG_OVERRIDES_CSWpkgget += surplus-dependency|CSWpkgutil
CHECKPKG_OVERRIDES_CSWpkgget += catalogname-does-not-match-pkgname|pkgname=CSWpkgget|catalogname=pkg_get_stub|expected-catalogname=pkgget
+ALTERNATIVES_CSWapache2 = transition deprecation
+ALTERNATIVE_transition = /opt/csw/bin/pkg-get pkgget /opt/csw/bin/pkg-get.transition 10
+ALTERNATIVE_deprecation = /opt/csw/bin/pkg-get pkgget /opt/csw/bin/pkg-get.deprecated 5
+
+
include gar/category.mk
install-custom:
@@ -32,10 +37,10 @@
mkdir -p $(DESTDIR)$(docdir)/pkg_get_stub; \
mkdir -p $(DESTDIR)$(sharedstatedir); \
mkdir -p $(DESTDIR)$(sysconfdir); \
- ginstall -m 0755 $(FILEDIR)/pkg-get $(DESTDIR)$(bindir); \
- rsync -av --exclude=.svn $(FILEDIR)/bin/ $(DESTDIR)$(bindir)/;\
- rsync -av --exclude=.svn $(FILEDIR)/share/ $(DESTDIR)$(sharedstatedir)/; \
- rsync -av --exclude=.svn $(FILEDIR)/etc/ $(DESTDIR)$(sysconfdir)/; \
+ ginstall -m 0755 $(FILEDIR)/pkg-get $(DESTDIR)$(bindir)/pkg-get.transition; \
+ rsync -a --exclude=.svn $(FILEDIR)/bin/ $(DESTDIR)$(bindir)/;\
+ rsync -a --exclude=.svn $(FILEDIR)/share/ $(DESTDIR)$(sharedstatedir)/; \
+ rsync -a --exclude=.svn $(FILEDIR)/etc/ $(DESTDIR)$(sysconfdir)/; \
ginstall -m 0644 $(FILEDIR)/license $(DESTDIR)$(docdir)/pkg_get_stub; \
ln -s $(docdir)/pkg_get_stub $(DESTDIR)$(docdir)/pkg_get)
@$(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