aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/driconf/Makefile
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2005-06-18 01:10:17 +0800
committeranholt <anholt@FreeBSD.org>2005-06-18 01:10:17 +0800
commitdd07997d7c5d92cb57653629e7c8ae3a415611f0 (patch)
tree588ae78b2135993bf5efd43e94814810b3540ebb /graphics/driconf/Makefile
parentb980ca67300f4b2405cf35a9f2395f50b70b0821 (diff)
downloadfreebsd-ports-gnome-dd07997d7c5d92cb57653629e7c8ae3a415611f0.tar.gz
freebsd-ports-gnome-dd07997d7c5d92cb57653629e7c8ae3a415611f0.tar.zst
freebsd-ports-gnome-dd07997d7c5d92cb57653629e7c8ae3a415611f0.zip
Respect ${PREFIX}
Submitted by: Soeren Straarup <xride@x12.dk>
Diffstat (limited to 'graphics/driconf/Makefile')
-rw-r--r--graphics/driconf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/driconf/Makefile b/graphics/driconf/Makefile
index 3e47c08064b3..e70bb10b0905 100644
--- a/graphics/driconf/Makefile
+++ b/graphics/driconf/Makefile
@@ -18,6 +18,11 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolki
USE_PYTHON= yes
NO_BUILD= yes
+USE_REINPLACE= yes
+
+pre-patch:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
+ -e 's|/usr/local|${PREFIX}|'
do-install:
@(cd ${WRKSRC} && ${PYTHON_CMD} setup.py install)