diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-19 05:21:29 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-19 05:21:29 +0800 |
commit | 41abbb610c2b1af5b6fcf59e9940fa671e41683b (patch) | |
tree | 0763238c453e53c8318d28404718e137a8bddd11 /x11 | |
parent | 1d88a3e119fd5c00e7c7a323f421beda07fbe2b4 (diff) | |
download | freebsd-ports-gnome-41abbb610c2b1af5b6fcf59e9940fa671e41683b.tar.gz freebsd-ports-gnome-41abbb610c2b1af5b6fcf59e9940fa671e41683b.tar.zst freebsd-ports-gnome-41abbb610c2b1af5b6fcf59e9940fa671e41683b.zip |
Allow staging as a regular user
Diffstat (limited to 'x11')
-rw-r--r-- | x11/metalock/files/patch-Makefile | 8 | ||||
-rw-r--r-- | x11/metalock/pkg-plist | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/x11/metalock/files/patch-Makefile b/x11/metalock/files/patch-Makefile index acc66cfa4828..73731cc56c1b 100644 --- a/x11/metalock/files/patch-Makefile +++ b/x11/metalock/files/patch-Makefile @@ -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 diff --git a/x11/metalock/pkg-plist b/x11/metalock/pkg-plist index e5162143e8e6..6fa8d3fd7857 100644 --- a/x11/metalock/pkg-plist +++ b/x11/metalock/pkg-plist @@ -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 |