aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mguesser/Makefile
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 00:10:17 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 00:10:17 +0800
commit639177a186cdd74c7fdb2db2475069614b84d57e (patch)
tree6a50dd553022c939ed1ab22e8712ed01e2115094 /textproc/mguesser/Makefile
parentc67befb6bb7c1ae2a8aea53dc45c843cae8a634f (diff)
downloadfreebsd-ports-gnome-639177a186cdd74c7fdb2db2475069614b84d57e.tar.gz
freebsd-ports-gnome-639177a186cdd74c7fdb2db2475069614b84d57e.tar.zst
freebsd-ports-gnome-639177a186cdd74c7fdb2db2475069614b84d57e.zip
Support staging
Diffstat (limited to 'textproc/mguesser/Makefile')
-rw-r--r--textproc/mguesser/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/mguesser/Makefile b/textproc/mguesser/Makefile
index c412c4079906..cf5e8581fcd6 100644
--- a/textproc/mguesser/Makefile
+++ b/textproc/mguesser/Makefile
@@ -9,7 +9,6 @@ MASTER_SITES= http://www.mnogosearch.org/guesser/
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for guessing a text's charset and language
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -E \
"s/^CC=.+//g; s|^CFLAGS=|CFLAGS+=|g; s|-Wall -g||g; \
@@ -18,8 +17,8 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mguesser ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/mguesser
- ${INSTALL_DATA} ${WRKSRC}/maps/*.lm ${PREFIX}/share/mguesser
+ ${INSTALL_PROGRAM} ${WRKSRC}/mguesser ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/maps/*.lm ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>