aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-09 03:17:09 +0800
committerantoine <antoine@FreeBSD.org>2014-09-09 03:17:09 +0800
commit9363a74b20adc046805846b61a818026b6ba2398 (patch)
tree98b17c5f161c650274a21f0cd0cfb40805d3ff6b /sysutils
parent0a416f7d1adcbc4886bdbe47fc7b517172a2bf60 (diff)
downloadfreebsd-ports-gnome-9363a74b20adc046805846b61a818026b6ba2398.tar.gz
freebsd-ports-gnome-9363a74b20adc046805846b61a818026b6ba2398.tar.zst
freebsd-ports-gnome-9363a74b20adc046805846b61a818026b6ba2398.zip
Allow staging as a regular user
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/stmpclean/files/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/stmpclean/files/patch-Makefile b/sysutils/stmpclean/files/patch-Makefile
index 0dafde71b843..ece4f81e80ef 100644
--- a/sysutils/stmpclean/files/patch-Makefile
+++ b/sysutils/stmpclean/files/patch-Makefile
@@ -19,8 +19,8 @@
- install -c -o 0 -g 0 -m 0444 stmpclean.8 $(MANDIR)/
+ if [ ! -d $(DESTDIR)$(BINDIR) ] ; then mkdir -p -m 0755 $(DESTDIR)$(BINDIR); fi
+ if [ ! -d $(DESTDIR)$(MANDIR) ] ; then mkdir -p -m 0755 $(DESTDIR)$(MANDIR); fi
-+ install -c -o 0 -g 0 -m 0555 stmpclean $(DESTDIR)$(BINDIR)/
-+ install -c -o 0 -g 0 -m 0444 stmpclean.8 $(DESTDIR)$(MANDIR)/
++ $(BSD_INSTALL_PROGRAM) stmpclean $(DESTDIR)$(BINDIR)/
++ $(BSD_INSTALL_MAN) stmpclean.8 $(DESTDIR)$(MANDIR)/
stmpclean.o: stmpclean.c