diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-05 19:01:41 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-05 19:01:41 +0000 |
commit | b213c0c4e1c19f74ccdf31aca98dbcddcc2b5d14 (patch) | |
tree | 0755fd2cd27254b4bd8ea7982fedbcc1090b9341 /lang/f77/Makefile | |
parent | Add 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>
Diffstat (limited to 'lang/f77/Makefile')
-rw-r--r-- | lang/f77/Makefile | 4 |
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 |