aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-18 18:26:43 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-18 18:26:43 +0800
commite55a2a05db588b1eb923fe27f7d16108250d18ee (patch)
treebc73a545a294cafdeef064d2a9f90d94a9533257
parentc4190314d51c7da987a99892127854f3608c10ae (diff)
downloadfreebsd-ports-gnome-e55a2a05db588b1eb923fe27f7d16108250d18ee.tar.gz
freebsd-ports-gnome-e55a2a05db588b1eb923fe27f7d16108250d18ee.tar.zst
freebsd-ports-gnome-e55a2a05db588b1eb923fe27f7d16108250d18ee.zip
Support staging.
-rw-r--r--devel/pty/Makefile6
-rw-r--r--devel/pty/files/patch-Makefile13
2 files changed, 14 insertions, 5 deletions
diff --git a/devel/pty/Makefile b/devel/pty/Makefile
index 5673ebb40956..9b4ad08d40d9 100644
--- a/devel/pty/Makefile
+++ b/devel/pty/Makefile
@@ -9,10 +9,6 @@ MASTER_SITES= http://www.mammothcheese.ca/
MAINTAINER= jimmy@mammothcheese.ca
COMMENT= Helps debug programs which fiddle with their tty settings
-MAN1= pty.1
-MANCOMPRESSED= yes
+PLIST_FILES= bin/pty man/man1/pty.1.gz
-PLIST_FILES= bin/pty
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/devel/pty/files/patch-Makefile b/devel/pty/files/patch-Makefile
new file mode 100644
index 000000000000..7bc6f20df279
--- /dev/null
+++ b/devel/pty/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- ./Makefile.orig 2014-02-18 11:25:22.776279198 +0100
++++ ./Makefile 2014-02-18 11:25:42.052279336 +0100
+@@ -12,8 +12,8 @@
+
+ install: pty
+ gzip pty.1
+- ${INSTALL_MAN} pty.1.gz ${PREFIX}/man/man1/
+- ${INSTALL_PROGRAM} pty ${PREFIX}/bin
++ ${INSTALL_MAN} pty.1.gz ${DESTDIR}${MANPREFIX}/man/man1/
++ ${INSTALL_PROGRAM} pty ${DESTDIR}${PREFIX}/bin
+
+ deinstall:
+ rm -r ${PREFIX}/bin/pty