diff options
author | anholt <anholt@FreeBSD.org> | 2005-06-18 01:10:17 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2005-06-18 01:10:17 +0800 |
commit | dd07997d7c5d92cb57653629e7c8ae3a415611f0 (patch) | |
tree | 588ae78b2135993bf5efd43e94814810b3540ebb /graphics/driconf/Makefile | |
parent | b980ca67300f4b2405cf35a9f2395f50b70b0821 (diff) | |
download | freebsd-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/Makefile | 5 |
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) |