Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 10:49:04 +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: r332687 - in head: french/hunspell german/hunspell hebrew/hunspell hungarian/hunspell korean/hunspell russian/hunspell ukrainian/hunspell vietnamese/hunspell
Message-ID:  <201311041049.rA4An48e026888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Nov  4 10:49:03 2013
New Revision: 332687
URL: http://svnweb.freebsd.org/changeset/ports/332687

Log:
  Support stage, use bsdtar to extract

Modified:
  head/french/hunspell/Makefile
  head/german/hunspell/Makefile
  head/hebrew/hunspell/Makefile
  head/hungarian/hunspell/Makefile
  head/korean/hunspell/Makefile
  head/russian/hunspell/Makefile
  head/ukrainian/hunspell/Makefile
  head/vietnamese/hunspell/Makefile

Modified: head/french/hunspell/Makefile
==============================================================================
--- head/french/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/french/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -10,7 +10,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Modern French hunspell dictionaries
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 

Modified: head/german/hunspell/Makefile
==============================================================================
--- head/german/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/german/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -13,10 +13,9 @@ COMMENT=	German hunspell dictionaries
 BUILD_DEPENDS=	buildhash:${PORTSDIR}/textproc/ispell \
 		hunspell:${PORTSDIR}/textproc/hunspell
 
-USES=		shebangfix perl5
+USES=		gmake shebangfix perl5
 USE_BZIP2=	yes
 ALL_TARGET=	hunspell-all
-USE_GMAKE=	yes
 USE_PERL5=	build
 SHEBANG_FILES=	bin/*.pl
 
@@ -35,19 +34,18 @@ PLIST_FILES+=	%%DATADIR%%/${ALIAS}.aff \
 		%%DATADIR%%/${ALIAS}.dic
 .endfor
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${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 ${DATADIR}/
+		${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${STAGEDIR}${DATADIR}/
 .for ALIAS in ${CHALIASES}
-	${LN} -s de_CH.aff ${DATADIR}/${ALIAS}.aff
-	${LN} -s de_CH.dic ${DATADIR}/${ALIAS}.dic
+	${LN} -s de_CH.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
+	${LN} -s de_CH.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
 .endfor
 .for ALIAS in ${DEALIASES}
-	${LN} -s de_DE.aff ${DATADIR}/${ALIAS}.aff
-	${LN} -s de_DE.dic ${DATADIR}/${ALIAS}.dic
+	${LN} -s de_DE.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff
+	${LN} -s de_DE.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic
 .endfor
 
 .include <bsd.port.mk>

Modified: head/hebrew/hunspell/Makefile
==============================================================================
--- head/hebrew/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/hebrew/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -15,18 +15,15 @@ ALL_TARGET=	hunspell
 CONFIGURE_ARGS=	--enable-fatverb
 GNU_CONFIGURE=	yes
 USE_PERL5=	build
-USES=		gmake iconv:build perl5
+USES=		gmake iconv:build perl5 shebangfix
+SHEBANG_FILES=	${WRKSRC}/pmerge
 
 PLIST_FILES=	%%DATADIR%%/he.aff \
 		%%DATADIR%%/he.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/pmerge
-
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/he.aff ${WRKSRC}/he.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/he.aff ${WRKSRC}/he.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/hungarian/hunspell/Makefile
==============================================================================
--- head/hungarian/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/hungarian/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -20,9 +20,8 @@ PLIST_FILES=	%%DATADIR%%/hu_HU.aff \
 		%%DATADIR%%/hu_HU.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/hu_HU.aff ${WRKSRC}/hu_HU.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/hu_HU.aff ${WRKSRC}/hu_HU.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/korean/hunspell/Makefile
==============================================================================
--- head/korean/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/korean/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -14,7 +14,7 @@ LICENSE_COMB=	dual
 
 BUILD_DEPENDS+=	py*-lxml>=0:${PORTSDIR}/devel/py-lxml
 
-USE_GMAKE=		yes
+USES=		gmake
 USE_PYTHON_BUILD=	yes
 USE_XZ=			yes
 
@@ -26,10 +26,9 @@ PROJECTHOST=	spellcheck-ko
 
 MAKE_ENV+=	PYTHON=${PYTHON_CMD}
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/ko.aff ${DATADIR}/ko_KR.aff
-	${INSTALL_DATA} ${WRKSRC}/ko.dic ${DATADIR}/ko_KR.dic
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/ko.aff ${STAGEDIR}${DATADIR}/ko_KR.aff
+	${INSTALL_DATA} ${WRKSRC}/ko.dic ${STAGEDIR}${DATADIR}/ko_KR.dic
 
 .include <bsd.port.mk>

Modified: head/russian/hunspell/Makefile
==============================================================================
--- head/russian/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/russian/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -10,7 +10,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Russian hunspell dictionaries
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 PROJECTHOST=	hunspell-ru
@@ -19,9 +19,8 @@ PLIST_FILES=	%%DATADIR%%/ru_RU.aff \
 		%%DATADIR%%/ru_RU.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/ru_RU.aff ${WRKSRC}/ru_RU.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/ru_RU.aff ${WRKSRC}/ru_RU.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/ukrainian/hunspell/Makefile
==============================================================================
--- head/ukrainian/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/ukrainian/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -21,9 +21,8 @@ PLIST_FILES=	%%DATADIR%%/uk_UA.aff \
 		%%DATADIR%%/uk_UA.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	cd ${WRKSRC}/dist/my${DISTNAME}/ && ${INSTALL_DATA} uk_UA.aff uk_UA.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	cd ${WRKSRC}/dist/my${DISTNAME}/ && ${INSTALL_DATA} uk_UA.aff uk_UA.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/vietnamese/hunspell/Makefile
==============================================================================
--- head/vietnamese/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
+++ head/vietnamese/hunspell/Makefile	Mon Nov  4 10:49:03 2013	(r332687)
@@ -11,7 +11,7 @@ DIST_SUBDIR=	${PORTNAME}
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Vietnamese hunspell dictionaries
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 PROJECTHOST=	hunspell-spellcheck-vi
@@ -20,9 +20,8 @@ PLIST_FILES=	%%DATADIR%%/vi_VN.aff \
 		%%DATADIR%%/vi_VN.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/vi_VN.aff ${WRKSRC}/vi_VN.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/vi_VN.aff ${WRKSRC}/vi_VN.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



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