aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2009-11-12 06:12:13 +0800
committerkmoore <kmoore@FreeBSD.org>2009-11-12 06:12:13 +0800
commite8d7563b16215f3b932d458a45ccad706b1830c9 (patch)
treef45caac698bbf9667aabef5c94e0f8731bcda9cc /archivers
parent354e3f24763b780cc87f6574dffaf104eae18075 (diff)
downloadfreebsd-ports-gnome-e8d7563b16215f3b932d458a45ccad706b1830c9.tar.gz
freebsd-ports-gnome-e8d7563b16215f3b932d458a45ccad706b1830c9.tar.zst
freebsd-ports-gnome-e8d7563b16215f3b932d458a45ccad706b1830c9.zip
- Fix runtime issues when using CUSTOM prefix
PR: 139647 Submitted by: myself Approved by: Maintainer Timeout Approved by: miwi (mentor)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rox-archive/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/archivers/rox-archive/Makefile b/archivers/rox-archive/Makefile
index 3a23350227b9..b6a806140134 100644
--- a/archivers/rox-archive/Makefile
+++ b/archivers/rox-archive/Makefile
@@ -27,6 +27,11 @@ do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
+pre-install:
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/Archive/findrox.py
+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
+
do-install:
@${MKDIR} ${PREFIX}/apps
@${CP} -r ${WRKSRC}/Archive ${PREFIX}/apps/