- Fix build on 4.x [1]

- Respect DESTDIR

Submitted by:	pointyhat via kris [1]
Approved by:	krion (mentor)
This commit is contained in:
Martin Wilke 2006-08-07 09:05:45 +00:00
parent 915fec9aad
commit eacfb47d19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169938

View file

@ -14,6 +14,8 @@ MASTER_SITES= http://0xcc.net/ttyrec/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tty recorder
USE_GCC= 3.4+
MAN1= ttyplay.1 ttyrec.1
post-patch:
@ -22,7 +24,7 @@ post-patch:
do-install:
.for file in ttyrec ttyplay ttytime
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${TARGETDIR}/bin
.endfor
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1