summaryrefslogtreecommitdiffstats
path: root/hungarian/ispell/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hungarian/ispell/Makefile')
-rw-r--r--hungarian/ispell/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/hungarian/ispell/Makefile b/hungarian/ispell/Makefile
index 034e6b9..caf6651 100644
--- a/hungarian/ispell/Makefile
+++ b/hungarian/ispell/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= ispell
-PORTVERSION= 0.92
+PORTVERSION= 0.99.3
CATEGORIES= hungarian textproc
-MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/
+#MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/
+MASTER_SITES= http://magyarispell.sourceforge.net/
DISTNAME= magyarispell-${PORTVERSION}
MAINTAINER= Janos.Mohacsi@bsd.hu
@@ -19,13 +20,17 @@ BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
USE_GMAKE= yes
+DOCSDIR= ${PREFIX}/share/doc/hu-ispell
do-install:
- cd ${WRKSRC} && \
- ${INSTALL_DATA} magyar.hash magyar.dict magyar.aff \
- ${PREFIX}/share/ispell
+ ${INSTALL_DATA} ${WRKSRC}/tmp/magyar4ispell.hash ${DATADIR}/magyar.hash
+ ${INSTALL_DATA} ${WRKSRC}/tmp/magyar4ispell.dict ${DATADIR}/magyar.dict
+ ${INSTALL_DATA} ${WRKSRC}/tmp/magyar.aff ${DATADIR}
+ ${LN} -sf ${DATADIR}/magyar.hash ${DATADIR}/hungarian.hash
${INSTALL_SCRIPT} ${FILESDIR}/ispell-hu.sh ${PREFIX}/bin/ispell-hu
- ${MKDIR} ${PREFIX}/share/doc/hu-ispell
- ${INSTALL_MAN} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${PREFIX}/share/doc/hu-ispell
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/OLVASSEL ${WRKSRC}/README ${WRKSRC}/GYIK ${DOCSDIR}
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud