Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 21:21:30 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368530 - in head/x11/metalock: . files
Message-ID:  <201409182121.s8ILLUFV073270@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 18 21:21:29 2014
New Revision: 368530
URL: http://svnweb.freebsd.org/changeset/ports/368530
QAT: https://qat.redports.org/buildarchive/r368530/

Log:
  Allow staging as a regular user

Modified:
  head/x11/metalock/files/patch-Makefile
  head/x11/metalock/pkg-plist

Modified: head/x11/metalock/files/patch-Makefile
==============================================================================
--- head/x11/metalock/files/patch-Makefile	Thu Sep 18 21:05:21 2014	(r368529)
+++ head/x11/metalock/files/patch-Makefile	Thu Sep 18 21:21:29 2014	(r368530)
@@ -1,6 +1,6 @@
---- Makefile.orig	2014-01-11 00:15:02.000000000 +0800
-+++ Makefile	2014-01-11 00:16:03.000000000 +0800
-@@ -129,16 +129,16 @@ install: all
+--- Makefile.orig	2012-03-22 11:43:52 UTC
++++ Makefile
+@@ -129,16 +129,14 @@
  	@echo "(the default theme is missing)"
  .else
  	@echo installing executable file to ${DEST_PREFIX}/bin
@@ -11,7 +11,6 @@
 +	@mkdir -p $(DESTDIR)${DEST_PREFIX}/bin
 +	@cp -f metalock $(DESTDIR)${DEST_PREFIX}/bin
 +	@chmod 755 $(DESTDIR)${DEST_PREFIX}/bin/metalock
-+	@chmod u+s $(DESTDIR)${DEST_PREFIX}/bin/metalock
  	@echo -n "installing theme to "
  	@echo "${DEST_PREFIX}/share/metalock/themes/${DEFAULT_THEME}"
 -	@mkdir -p ${DEST_PREFIX}/share/metalock/themes
@@ -20,7 +19,6 @@
 -	@chmod 644 ${DEST_PREFIX}/share/metalock/themes/${DEFAULT_THEME}/*
 +	@mkdir -p $(DESTDIR)${DEST_PREFIX}/share/metalock/themes
 +	@cp -pRf ../themes/${DEFAULT_THEME} $(DESTDIR)${DEST_PREFIX}/share/metalock/themes
-+	@chown 0:0 $(DESTDIR)${DEST_PREFIX}/share/metalock/themes/${DEFAULT_THEME}/*
 +	@chmod 644 $(DESTDIR)${DEST_PREFIX}/share/metalock/themes/${DEFAULT_THEME}/*
  	@echo "finished installing metalock"
  .endif

Modified: head/x11/metalock/pkg-plist
==============================================================================
--- head/x11/metalock/pkg-plist	Thu Sep 18 21:05:21 2014	(r368529)
+++ head/x11/metalock/pkg-plist	Thu Sep 18 21:21:29 2014	(r368530)
@@ -1,4 +1,4 @@
-bin/metalock
+@(,,4555) bin/metalock
 %%DATADIR%%/themes/Blue_Marble/bg.xpm.gz
 %%DATADIR%%/themes/Blue_Marble/box.xpm.gz
 %%DATADIR%%/themes/Blue_Marble/metadata.mk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409182121.s8ILLUFV073270>