aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-27 15:01:44 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-27 15:01:44 +0000
commitc2cb80025b04a795754f671c68d46aac61cd6ee1 (patch)
tree9188aabb96dac0fe8420cef5c3edd45fe010ea42
parentfc5c95cd6c69cd3adaa53d395d2f5006f9161c8f (diff)
downloadports-c2cb80025b04a795754f671c68d46aac61cd6ee1.tar.gz
ports-c2cb80025b04a795754f671c68d46aac61cd6ee1.zip
Notes
-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