summaryrefslogtreecommitdiff
path: root/editors/textroom/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-05-07 12:34:42 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-05-07 12:34:42 +0000
commit1d15a3d2d4a83a30f74be0d219c5ceb81c3b5333 (patch)
tree17956e280a649ad085d8cb4233594aed49cd6bd8 /editors/textroom/Makefile
parentUpdate to 1.27 (diff)
Fix hardcoded references to /usr/share
PR: 146368 Submitted by: Michael James Brune <admin@mjbrune.org> (maintainer)
Notes
Notes: svn path=/head/; revision=253901
Diffstat (limited to '')
-rw-r--r--editors/textroom/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile
index bd1e88d15561..95559cb5a072 100644
--- a/editors/textroom/Makefile
+++ b/editors/textroom/Makefile
@@ -7,6 +7,7 @@
PORTNAME= textroom
PORTVERSION= 0.6.3.2
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= SF
@@ -26,7 +27,10 @@ MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' ${WRKSRC}/textroom.pro
+ @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' \
+ ${WRKSRC}/textroom.pro
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
+ ${WRKSRC}/src/textroom.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \