aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 13:45:53 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 13:45:53 +0000
commit89e5146c2bbb6565687e4f954ec988c62aba4fdb (patch)
tree1a28296c4e056db403156e47abbe2ff474adf8c3 /misc
parente186c0c1105668108a3125eafb94d2cf637545c9 (diff)
downloadports-89e5146c2bbb6565687e4f954ec988c62aba4fdb.tar.gz
ports-89e5146c2bbb6565687e4f954ec988c62aba4fdb.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/hb/Makefile4
-rw-r--r--misc/hb/files/patch-Makefile25
-rw-r--r--misc/hb/pkg-plist1
3 files changed, 26 insertions, 4 deletions
diff --git a/misc/hb/Makefile b/misc/hb/Makefile
index a50b103d95b5..c601c143b8ed 100644
--- a/misc/hb/Makefile
+++ b/misc/hb/Makefile
@@ -11,8 +11,4 @@ COMMENT= Simple, but complete budget management in Python
USE_PYTHON= yes
-MANCOMPRESSED= yes
-MAN1= hb.1
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/misc/hb/files/patch-Makefile b/misc/hb/files/patch-Makefile
new file mode 100644
index 000000000000..7f1723caf0e0
--- /dev/null
+++ b/misc/hb/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig 2014-07-15 21:44:10.713832840 +0800
++++ Makefile 2014-07-15 21:43:38.083846847 +0800
+@@ -4,13 +4,13 @@
+ all: # Do nothing - this is a python script that needs no build
+
+ install:
+- install -c -o root -g wheel -m 755 ./hb.py ${PREFIX}/bin
+- mkdir ${PREFIX}/share/doc/hb
+- install -c -o root -g wheel -m 644 ./hb.1.gz ${PREFIX}/man/man1
+- install -c -o root -g wheel -m 644 ./hb.txt ${PREFIX}/share/doc/hb
+- install -c -o root -g wheel -m 644 ./0-StartHere.txt ${PREFIX}/share/doc/hb
+- install -c -o root -g wheel -m 644 ./1-HB-License.txt ${PREFIX}/share/doc/hb
+- 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
++ 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
+
diff --git a/misc/hb/pkg-plist b/misc/hb/pkg-plist
index 1e5b20f40c27..a2b3ae4a83f9 100644
--- a/misc/hb/pkg-plist
+++ b/misc/hb/pkg-plist
@@ -1,4 +1,5 @@
bin/hb.py
+man/man1/hb.1.gz
share/doc/hb/hb.txt
share/doc/hb/0-StartHere.txt
share/doc/hb/1-HB-License.txt