aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-06 03:01:41 +0800
committermarcus <marcus@FreeBSD.org>2003-07-06 03:01:41 +0800
commit540254342d988faadc650eac3b9a52bfb381f0e5 (patch)
treebf1f3dc47a372e72df51923feb4536817bd8bba8 /lang
parent63df8650c861e4f09aca95367a15d73d1ca0eb68 (diff)
downloadfreebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.tar.gz
freebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.tar.zst
freebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.zip
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')
-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