aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-06 02:35:38 +0800
committerantoine <antoine@FreeBSD.org>2014-09-06 02:35:38 +0800
commitaf0959f203e7218a13d4a594d8671c77f0bb0ccb (patch)
treec8e482efd7f650dc32b6c47e345cc1d27c819838
parent6ce42b80cc757c5efed4de95bba8a445d2460b86 (diff)
downloadfreebsd-ports-gnome-af0959f203e7218a13d4a594d8671c77f0bb0ccb.tar.gz
freebsd-ports-gnome-af0959f203e7218a13d4a594d8671c77f0bb0ccb.tar.zst
freebsd-ports-gnome-af0959f203e7218a13d4a594d8671c77f0bb0ccb.zip
Allow staging as a regular user
-rw-r--r--misc/hb/Makefile2
-rw-r--r--misc/hb/files/patch-Makefile16
2 files changed, 9 insertions, 9 deletions
diff --git a/misc/hb/Makefile b/misc/hb/Makefile
index c601c143b8ed..3f6962d508aa 100644
--- a/misc/hb/Makefile
+++ b/misc/hb/Makefile
@@ -9,6 +9,6 @@ MASTER_SITES= http://www.tundraware.com/Software/hb/
MAINTAINER= tundra@tundraware.com
COMMENT= Simple, but complete budget management in Python
-USE_PYTHON= yes
+USES= python
.include <bsd.port.mk>
diff --git a/misc/hb/files/patch-Makefile b/misc/hb/files/patch-Makefile
index 7f1723caf0e0..ed563076ea58 100644
--- a/misc/hb/files/patch-Makefile
+++ b/misc/hb/files/patch-Makefile
@@ -13,13 +13,13 @@
- install -c -o root -g wheel -m 644 ./2-HowToUse.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./3-UnderTheHood.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./4-Limitations-Enhancements.txt ${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 755 ./hb.py $(DESTDIR)${PREFIX}/bin
++ $(BSD_INSTALL_SCRIPT) ./hb.py $(DESTDIR)${PREFIX}/bin
+ mkdir $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./hb.1.gz $(DESTDIR)${PREFIX}/man/man1
-+ install -c -o root -g wheel -m 644 ./hb.txt $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./0-StartHere.txt $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./1-HB-License.txt $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./2-HowToUse.txt $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./3-UnderTheHood.txt $(DESTDIR)${PREFIX}/share/doc/hb
-+ install -c -o root -g wheel -m 644 ./4-Limitations-Enhancements.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_MAN) ./hb.1.gz $(DESTDIR)${PREFIX}/man/man1
++ $(BSD_INSTALL_DATA) ./hb.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_DATA) ./0-StartHere.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_DATA) ./1-HB-License.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_DATA) ./2-HowToUse.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_DATA) ./3-UnderTheHood.txt $(DESTDIR)${PREFIX}/share/doc/hb
++ $(BSD_INSTALL_DATA) ./4-Limitations-Enhancements.txt $(DESTDIR)${PREFIX}/share/doc/hb