Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 15:11:11 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332249 - head/textproc/hunspell
Message-ID:  <201310311511.r9VFBBea038655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Oct 31 15:11:11 2013
New Revision: 332249
URL: http://svnweb.freebsd.org/changeset/ports/332249

Log:
  Fix trying to ranlib a readonly file (thank automake used without libtool)
  Fix shebang of ispellaff2myspell
  Add run dependency on perl
  Strip final binaries
  Bump portrevision

Modified:
  head/textproc/hunspell/Makefile

Modified: head/textproc/hunspell/Makefile
==============================================================================
--- head/textproc/hunspell/Makefile	Thu Oct 31 15:02:49 2013	(r332248)
+++ head/textproc/hunspell/Makefile	Thu Oct 31 15:11:11 2013	(r332249)
@@ -3,7 +3,7 @@
 
 PORTNAME=	hunspell
 PORTVERSION=	1.3.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/Hunspell/${PORTVERSION}
 DIST_SUBDIR=	${PORTNAME}
@@ -16,10 +16,18 @@ LICENSE_COMB=	dual
 
 CONFIGURE_ARGS=	--disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
 GNU_CONFIGURE=	yes
-USES=		pathfix iconv ncurses readline
+USES=		pathfix iconv ncurses readline shebangfix perl5
+SHEBANG_FILES=	src/tools/ispellaff2myspell
 USE_LDCONFIG=	yes
+USE_PERL5=	run
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx
 
+post-configure:
+	@${REINPLACE_CMD} -e 's|444|644|g' ${WRKSRC}/src/parsers/Makefile
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhunspell-1.3.so.0
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310311511.r9VFBBea038655>