aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-30 19:33:33 +0800
committerpgj <pgj@FreeBSD.org>2010-05-30 19:33:33 +0800
commit9757635e5f6295b354e62bad5ec6e9e49ace6583 (patch)
tree7e7ebb4515e9a865a136bfb7342b48daad2ceb95
parent248c49d71fda1f34891d41b2b29c2837ffd35cce (diff)
downloadfreebsd-ports-gnome-9757635e5f6295b354e62bad5ec6e9e49ace6583.tar.gz
freebsd-ports-gnome-9757635e5f6295b354e62bad5ec6e9e49ace6583.tar.zst
freebsd-ports-gnome-9757635e5f6295b354e62bad5ec6e9e49ace6583.zip
- Fix installation problem
PR: ports/146940 Submitted by: Stefan <schaecsn@gmx.net>
-rw-r--r--lang/Gofer/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/Gofer/Makefile b/lang/Gofer/Makefile
index 9ea4e37a38cb..600f2284cdc8 100644
--- a/lang/Gofer/Makefile
+++ b/lang/Gofer/Makefile
@@ -23,6 +23,11 @@ DOCSDIR= ${PREFIX}/share/doc/Gofer
LIBDIR= ${PREFIX}/lib/Gofer
MAN1= gofer.1
+post-patch:
+ @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKDIR}/scripts/gofer \
+ ${WRKDIR}/scripts/goferc
+
do-install:
@${MKDIR} ${LIBDIR}
${INSTALL_DATA} ${WRKDIR}/*.prelude ${LIBDIR}