diff options
author | thierry <thierry@FreeBSD.org> | 2005-10-19 03:50:22 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-10-19 03:50:22 +0800 |
commit | be453610dc99db0e2f985dc4bcbadcc83b80bbdd (patch) | |
tree | d3af8d71358f4b54412de989396ac17c873afcc7 /editors/mined | |
parent | 65d83d61e900ecff7afef63fb0ba0c9c382ec11c (diff) | |
download | freebsd-ports-gnome-be453610dc99db0e2f985dc4bcbadcc83b80bbdd.tar.gz freebsd-ports-gnome-be453610dc99db0e2f985dc4bcbadcc83b80bbdd.tar.zst freebsd-ports-gnome-be453610dc99db0e2f985dc4bcbadcc83b80bbdd.zip |
Respect $PREFIX.
Reported by: dosirak via Kris
Diffstat (limited to 'editors/mined')
-rw-r--r-- | editors/mined/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/editors/mined/Makefile b/editors/mined/Makefile index ed0839a9c963..5b4a23abedcc 100644 --- a/editors/mined/Makefile +++ b/editors/mined/Makefile @@ -21,12 +21,22 @@ ALL_TARGET= mined manual PORTDOCS= * .endif -USE_GMAKE= YES +USE_GMAKE= yes +USE_REINPLACE= yes +REINPLACE_ARGS= -i "" MAKE_ARGS= GMAKE=${GMAKE} CC=${CC:T} OPT="${CFLAGS}" INSTALL_TARGET= localinstall MAN1= mined.1 +PRFX2FIX= src/makefile.bsd src/makefile.gcc usrshare/xinitrc.mined \ + usrshare/mined.desktop src/mined1.c + +pre-configure: +.for FILE in ${PRFX2FIX} + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE} +.endfor + pre-build: ${MV} ${WRKSRC}/src/mkinclud.cc ${WRKSRC}/src/mkinclud.cc.bak ${CP} ${WRKSRC}/src/mkinclud.gcc ${WRKSRC}/src/mkinclud.cc |