aboutsummaryrefslogtreecommitdiffstats
path: root/editors/uzap
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-05-27 23:01:44 +0800
committervanilla <vanilla@FreeBSD.org>2014-05-27 23:01:44 +0800
commit0512432368400ebd1898a1e55437f15e3c7b5f60 (patch)
tree9188aabb96dac0fe8420cef5c3edd45fe010ea42 /editors/uzap
parent27a3a847a0d1fa76cf105c675823424d83d649a9 (diff)
downloadfreebsd-ports-gnome-0512432368400ebd1898a1e55437f15e3c7b5f60.tar.gz
freebsd-ports-gnome-0512432368400ebd1898a1e55437f15e3c7b5f60.tar.zst
freebsd-ports-gnome-0512432368400ebd1898a1e55437f15e3c7b5f60.zip
Stageify.
Approved by: portmgr@
Diffstat (limited to 'editors/uzap')
-rw-r--r--editors/uzap/Makefile4
-rw-r--r--editors/uzap/files/patch-a8
2 files changed, 5 insertions, 7 deletions
diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile
index d04f6e9f4cbd..26c1ded9e20f 100644
--- a/editors/uzap/Makefile
+++ b/editors/uzap/Makefile
@@ -15,8 +15,6 @@ COMMENT= Visual binary file editor
# http://www.megalextoria.com/usenet-archive/news097f1/b120/alt/sources/00000521.html
NO_CDROM= This software may not be used to make a profit in any way.
NO_WRKSUBDIR= yes
-MAN1= uzap.1
-PLIST_FILES= bin/uzap
+PLIST_FILES= bin/uzap man/man1/uzap.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/editors/uzap/files/patch-a b/editors/uzap/files/patch-a
index 1e1f4624888d..3bdf7ad6457f 100644
--- a/editors/uzap/files/patch-a
+++ b/editors/uzap/files/patch-a
@@ -1,5 +1,5 @@
---- Makefile.orig Thu Mar 30 10:04:11 1989
-+++ Makefile Sun Oct 19 02:17:28 2003
+--- Makefile.orig 1989-03-31 02:04:11.000000000 +0800
++++ Makefile 2014-05-27 21:34:34.280623089 +0800
@@ -1,26 +1,28 @@
# Makefile for Uzap.
-BINDIR = /usr/local
@@ -34,8 +34,8 @@
install: uzap
- install -s -m 771 uzap $(BINDIR)
- install -c -m 664 uzap.man $(MANDIR)/uzap.$(MSECT)
-+ install -s -m 755 -o bin -g bin uzap $(BINDIR)
-+ install -c -m 644 -o bin -g bin uzap.man $(MANDIR)/uzap.$(MSECT)
++ install -s -m 755 -o bin -g bin uzap $(DESTDIR)$(BINDIR)
++ install -c -m 644 -o bin -g bin uzap.man $(DESTDIR)$(MANDIR)/uzap.$(MSECT)
clean:
- rm -f *.o core uzap