summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-05 19:01:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-05 19:01:41 +0000
commitb213c0c4e1c19f74ccdf31aca98dbcddcc2b5d14 (patch)
tree0755fd2cd27254b4bd8ea7982fedbcc1090b9341 /lang
parentAdd the first part of "Concurrent Programming in Erlang", a book (diff)
Generate plist either statically or before do-install phase for
compatibility with upcoming bsd.port.mk patches. Submitted by: Sergey Matveychuk <sem@ciam.ru>
Notes
Notes: svn path=/head/; revision=84245
Diffstat (limited to 'lang')
-rw-r--r--lang/f77/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/f77/Makefile b/lang/f77/Makefile
index 4ffebb7b134d..6813c86e46ac 100644
--- a/lang/f77/Makefile
+++ b/lang/f77/Makefile
@@ -38,8 +38,10 @@ ALL_TARGET= depend all
MAN1= ${F77NAME}.1
PLIST= ${WRKDIR}/PLIST
-do-install:
+pre-install:
@${ECHO_CMD} 'bin/${F77NAME}' > ${PLIST}
+
+do-install:
${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin/${F77NAME}
@${SED} -e 's/F77/${F77NAME}/g' -e 's/f77/${F77NAME}/g' \
${WRKSRC}/f77.1 > ${WRKSRC}/${F77NAME}.1