Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 11:30:55 +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: r341534 - head/german/hunspell
Message-ID:  <201401281130.s0SBUtQq040830@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 28 11:30:55 2014
New Revision: 341534
URL: http://svnweb.freebsd.org/changeset/ports/341534
QAT: https://qat.redports.org/buildarchive/r341534/

Log:
  Use aspell instead of ispell to build the package
  Cleanup build_depends
  mute the mkdir

Modified:
  head/german/hunspell/Makefile

Modified: head/german/hunspell/Makefile
==============================================================================
--- head/german/hunspell/Makefile	Tue Jan 28 11:05:31 2014	(r341533)
+++ head/german/hunspell/Makefile	Tue Jan 28 11:30:55 2014	(r341534)
@@ -14,8 +14,8 @@ COMMENT=	German hunspell dictionaries
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/buildhash:${PORTSDIR}/textproc/ispell \
-		${LOCALBASE}/bin/hunspell:${PORTSDIR}/textproc/hunspell
+BUILD_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell \
+		hunspell:${PORTSDIR}/textproc/hunspell
 
 USES=		gmake perl5 shebangfix
 USE_BZIP2=	yes
@@ -38,8 +38,12 @@ PLIST_FILES+=	%%DATADIR%%/${ALIAS}.aff \
 		%%DATADIR%%/${ALIAS}.dic
 .endfor
 
+post-patch:
+	@${REINPLACE_CMD} -e "s/AFFIX_EXPANDER = ispell/AFFIX_EXPANDER = aspell/g" \
+		${WRKSRC}/Makefile
+
 do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}/
+	@${MKDIR} ${STAGEDIR}${DATADIR}/
 	${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
 		${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
 		${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${STAGEDIR}${DATADIR}/



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