summaryrefslogtreecommitdiff
path: root/lang/TenDRA/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-07-07 08:10:34 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-07-07 08:10:34 +0000
commitf9be3f577588263bfec236d8fb31182b1c45be57 (patch)
tree71675f0117e468d31a02f379b63ed31745f23e6e /lang/TenDRA/Makefile
parentMaintainer has updated to a PPC machine and, despite his stated desire, (diff)
Don't use ${OSREL} and %%OSREL%% here. We need the full `uname -r`.
This should fix the install (untested).
Notes
Notes: svn path=/head/; revision=20102
Diffstat (limited to 'lang/TenDRA/Makefile')
-rw-r--r--lang/TenDRA/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/TenDRA/Makefile b/lang/TenDRA/Makefile
index 09f8a414fb95..a96b16f27d92 100644
--- a/lang/TenDRA/Makefile
+++ b/lang/TenDRA/Makefile
@@ -3,7 +3,7 @@
# Date created: 7 Apr 1998
# Whom: Robert Nordier <rnordier@iafrica.com>
#
-# $Id: Makefile,v 1.5 1998/08/07 22:49:27 asami Exp $
+# $Id: Makefile,v 1.6 1999/07/04 20:47:43 steve Exp $
#
DISTNAME= TenDRA-4.1.2
@@ -13,6 +13,8 @@ MASTER_SITES= ftp://alph.dera.gov.uk/pub/TenDRA/
MAINTAINER= rnordier@FreeBSD.ORG
ONLY_FOR_ARCHS= i386
+OSRELEASE!= uname -r
+PLIST_SUB= OSRELEASE=${OSRELEASE}
MAN1= calculus.1 disp.1 lexi.1 pl.1 sid.1 tcc.1 tchk.1 \
tcpplus.1 tdfc2.1 tld.1 tnc.1 trans.1 tspec.1
@@ -49,7 +51,7 @@ pre-install:
INSTALL >INSTALL.install && \
chmod a+x INSTALL.install)
-do-install:
+do-install: ${TMPPLIST}
@${MKDIR} ${PREFIX}/lib/TenDRA
@(PATH=${WRKSRC}/bin:$$PATH && \
cd ${WRKSRC} && \
@@ -60,8 +62,8 @@ do-install:
@(cd ${PREFIX} && \
chown -R ${BINOWN}:${BINGRP} lib/TenDRA && \
find -X lib/TenDRA -type d | xargs chmod 755 && \
- ${GREP} '^lib/' ${PLIST} | xargs chmod ${SHAREMODE} && \
- ${GREP} '/bin/' ${PLIST} | xargs chmod ${BINMODE})
+ ${GREP} '^lib/' ${TMPPLIST} | xargs chmod ${SHAREMODE} && \
+ ${GREP} '/bin/' ${TMPPLIST} | xargs chmod ${BINMODE})
@(cd ${PREFIX}/man/man1 && \
chown ${MANOWN}:${MANGRP} ${MAN1} && \
chmod ${MANMODE} ${MAN1})