diff options
Diffstat (limited to 'hungarian/hunspell/Makefile')
-rw-r--r-- | hungarian/hunspell/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/hungarian/hunspell/Makefile b/hungarian/hunspell/Makefile index 6bf554f46a52..94fbb7eeba37 100644 --- a/hungarian/hunspell/Makefile +++ b/hungarian/hunspell/Makefile @@ -6,11 +6,11 @@ # PORTNAME= hunspell -PORTVERSION= 1.1.4 +PORTVERSION= 1.1.8 CATEGORIES= hungarian textproc -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}${PORTNAME}/:code \ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \ http://magyarispell.sourceforge.net/:data -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU-pack.zip:data +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU.zip:data MAINTAINER= janos.mohacsi@bsd.hu COMMENT= Improved Hungarian spelling checker @@ -18,6 +18,7 @@ COMMENT= Improved Hungarian spelling checker BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip USE_GMAKE= yes +USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= "--with-ui" @@ -28,12 +29,6 @@ PORTDOCS= README README.myspell .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on FreeBSD-4.x at this time -.elif ${OSVERSION} >= 602001 -BROKEN= Does not compile on FreeBSD >= 6.x -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/src/tools/hunspell.cxx @@ -41,7 +36,11 @@ post-patch: do-install: ${INSTALL_MAN} ${WRKSRC}/man/hunspell.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/hunspell.4 ${PREFIX}/man/man4 - ${INSTALL_PROGRAM} ${WRKSRC}/src/tools/hunspell ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/tools/.libs/hunspell ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.1.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.1.lai ${PREFIX}/lib/libhunspell-1.1.la + ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.1.so.0 ${PREFIX}/lib + ${LN} -s ${LOCALBASE}/lib/libhunspell-1.1.so.0 ${PREFIX}/lib/libhunspell-1.1.so ${MKDIR} ${PREFIX}/share/myspell/ && \ ${INSTALL_DATA} ${WRKDIR}/hu_HU.dic \ ${PREFIX}/share/myspell/ && \ |