summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-01-07 06:35:14 +0000
committersteve <steve@FreeBSD.org>1999-01-07 06:35:14 +0000
commitce0a236b51487c5dc3928238fb580d9fa25cd593 (patch)
tree86f2172f526ab4e47b310e01f602e9864faf11db
parentda837a43fdb33c3a2e3a71c438baea185aba15a9 (diff)
downloadFreeBSD-ports-ce0a236b51487c5dc3928238fb580d9fa25cd593.zip
FreeBSD-ports-ce0a236b51487c5dc3928238fb580d9fa25cd593.tar.gz
Update to use new WRKSRC directory.
PR: 9353 Reviewed by: maintainer Submitted by: Allan Saddi <asaddi@philosophysw.com>
-rw-r--r--net/vnc/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index b16d9fe..395e405 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 February 1998
# Whom: msmith
#
-# $Id: Makefile,v 1.7 1998/11/21 07:27:39 steve Exp $
+# $Id: Makefile,v 1.8 1998/12/23 01:43:12 steve Exp $
#
DISTNAME= vnc-3.3.2r3_unixsrc
@@ -20,7 +20,7 @@ USE_PERL5= YES
EXTRACT_ONLY= vnc-3.3.2r3_unixsrc.tgz
IGNOREFILES= ${DISTFILES}
-NO_WRKSUBDIR= YES
+WRKSRC= ${WRKDIR}/vnc_unixsrc
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
@@ -30,19 +30,19 @@ ALL_TARGET= World
# We have to frob a few things, and we want our own permissions, so it's easier
# to do the install ourselves.
post-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
- ${INSTALL_PROGRAM} ${WRKDIR}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
- ${INSTALL_PROGRAM} ${WRKDIR}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
+ ${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc ${PREFIX}/bin/Xvnc
+ ${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer ${PREFIX}/bin/vncviewer
+ ${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd ${PREFIX}/bin/vncpasswd
${SED} -e s%/usr/local/vnc/classes%${PREFIX}/share/vnc/classes% \
-e s%^\#!/usr/bin/perl%\#!${PERL}% \
- < ${WRKDIR}/vncserver \
- > ${WRKDIR}/vncserver.local
- ${INSTALL_SCRIPT} ${WRKDIR}/vncserver.local ${PREFIX}/bin/vncserver
+ < ${WRKSRC}/vncserver \
+ > ${WRKSRC}/vncserver.local
+ ${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
# The documentation comes with bogus ownerships; this is a little leaky security-wise
${MKDIR} ${PREFIX}/share/doc/vnc
tar -C ${PREFIX}/share/doc/vnc -xzf ${DISTDIR}/vnc-3.3.2_doc.tgz
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/vnc
# Go install Java classes
${MKDIR} ${PREFIX}/share/vnc
- ${CP} -R ${WRKDIR}/classes ${PREFIX}/share/vnc
+ ${CP} -R ${WRKSRC}/classes ${PREFIX}/share/vnc
.include <bsd.port.mk>
OpenPOWER on IntegriCloud