1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Support staging.

This commit is contained in:
Emanuel Haupt 2014-02-18 10:26:43 +00:00
parent 22f5020b17
commit 14e187b2fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344859
2 changed files with 14 additions and 5 deletions

View File

@ -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>

View File

@ -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