Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 11:11:45 +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: r332691 - in head: french/mythes german/mythes hungarian/mythes polish/mythes portuguese/mythes russian/mythes ukrainian/mythes
Message-ID:  <201311041111.rA4BBjYi036770@svn.freebsd.org>

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

Log:
  Stagify
  Use bsdtar to extract

Modified:
  head/french/mythes/Makefile
  head/german/mythes/Makefile
  head/hungarian/mythes/Makefile
  head/polish/mythes/Makefile
  head/portuguese/mythes/Makefile
  head/russian/mythes/Makefile
  head/ukrainian/mythes/Makefile

Modified: head/french/mythes/Makefile
==============================================================================
--- head/french/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/french/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -12,7 +12,7 @@ COMMENT=	French thesaurus
 
 LICENSE=	LGPL21
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -26,14 +26,13 @@ PLIST_FILES+=	%%DATADIR%%/th_${ALIAS}_v2
 		%%DATADIR%%/th_${ALIAS}_v2.idx
 .endfor
 
-NO_STAGE=	yes
 do-install:
 	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/thes_fr.dat ${DATADIR}/th_fr_FR_v2.dat
-	${INSTALL_DATA} ${WRKSRC}/thes_fr.idx ${DATADIR}/th_fr_FR_v2.idx
+	${INSTALL_DATA} ${WRKSRC}/thes_fr.dat ${STAGEDIR}${DATADIR}/th_fr_FR_v2.dat
+	${INSTALL_DATA} ${WRKSRC}/thes_fr.idx ${STAGEDIR}${DATADIR}/th_fr_FR_v2.idx
 .for ALIAS in ${FRALIASES}
-	${LN} -s th_fr_FR_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
-	${LN} -s th_fr_FR_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
+	${LN} -s th_fr_FR_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
+	${LN} -s th_fr_FR_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
 .endfor
 
 .include <bsd.port.mk>

Modified: head/german/mythes/Makefile
==============================================================================
--- head/german/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/german/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -13,7 +13,6 @@ COMMENT=	German thesaurus
 
 LICENSE=	LGPL21
 
-USE_ZIP=	yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -28,13 +27,12 @@ PLIST_FILES+=	%%DATADIR%%/th_${ALIAS}_v2
 		%%DATADIR%%/th_${ALIAS}_v2.dat
 .endfor
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${STAGEDIR}${DATADIR}/
 .for ALIAS in ${DEALIASES}
-	${LN} -s th_de_DE_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
-	${LN} -s th_de_DE_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
+	${LN} -s th_de_DE_v2.dat ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.dat
+	${LN} -s th_de_DE_v2.idx ${STAGEDIR}${DATADIR}/th_${ALIAS}_v2.idx
 .endfor
 
 .include <bsd.port.mk>

Modified: head/hungarian/mythes/Makefile
==============================================================================
--- head/hungarian/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/hungarian/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -13,7 +13,7 @@ COMMENT=	Hungarian thesaurus
 
 LICENSE=	GPLv2
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -21,9 +21,8 @@ PLIST_FILES=	%%DATADIR%%/th_hu_HU.dat \
 		%%DATADIR%%/th_hu_HU.idx
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/th_hu_HU.dat ${WRKSRC}/th_hu_HU.idx ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/th_hu_HU.dat ${WRKSRC}/th_hu_HU.idx ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/polish/mythes/Makefile
==============================================================================
--- head/polish/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/polish/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -13,7 +13,7 @@ COMMENT=	Polish thesaurus
 
 LICENSE=	LGPL21
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -21,9 +21,8 @@ PLIST_FILES=	%%DATADIR%%/th_pl_PL_v2.dat
 		%%DATADIR%%/th_pl_PL_v2.idx
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/th_pl_PL_v2.dat ${WRKSRC}/th_pl_PL_v2.idx ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/th_pl_PL_v2.dat ${WRKSRC}/th_pl_PL_v2.idx ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/portuguese/mythes/Makefile
==============================================================================
--- head/portuguese/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/portuguese/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -13,7 +13,7 @@ COMMENT=	Portuguese thesaurus
 
 LICENSE=	GPLv2
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -23,11 +23,10 @@ PLIST_FILES=	%%DATADIR%%/th_pt_BR_v2.dat
 		%%DATADIR%%/th_pt_PT_v2.idx
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/th_pt_PT_v2.dat ${WRKSRC}/th_pt_PT_v2.idx ${DATADIR}/
-	${LN} -s th_pt_PT_v2.dat ${DATADIR}/th_pt_BR_v2.dat
-	${LN} -s th_pt_PT_v2.idx ${DATADIR}/th_pt_BR_v2.idx
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/th_pt_PT_v2.dat ${WRKSRC}/th_pt_PT_v2.idx ${STAGEDIR}${DATADIR}/
+	${LN} -s th_pt_PT_v2.dat ${STAGEDIR}${DATADIR}/th_pt_BR_v2.dat
+	${LN} -s th_pt_PT_v2.idx ${STAGEDIR}${DATADIR}/th_pt_BR_v2.idx
 
 .include <bsd.port.mk>

Modified: head/russian/mythes/Makefile
==============================================================================
--- head/russian/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/russian/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -13,7 +13,7 @@ COMMENT=	Russian thesaurus
 
 LICENSE=	LGPL21
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -23,11 +23,10 @@ PLIST_FILES=	%%DATADIR%%/th_ru_RU_v2.dat
 		%%DATADIR%%/th_ru_UA_v2.idx
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/th_ru_RU_v2.dat ${WRKSRC}/th_ru_RU_v2.idx ${DATADIR}/
-	${LN} -s th_ru_RU_v2.dat ${DATADIR}/th_ru_UA_v2.dat
-	${LN} -s th_ru_RU_v2.idx ${DATADIR}/th_ru_UA_v2.idx
+	${MKDIR} ${STAGEDIR}{DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/th_ru_RU_v2.dat ${WRKSRC}/th_ru_RU_v2.idx ${STAGEDIR}${DATADIR}/
+	${LN} -s th_ru_RU_v2.dat ${STAGEDIR}${DATADIR}/th_ru_UA_v2.dat
+	${LN} -s th_ru_RU_v2.idx ${STAGEDIR}${DATADIR}/th_ru_UA_v2.idx
 
 .include <bsd.port.mk>

Modified: head/ukrainian/mythes/Makefile
==============================================================================
--- head/ukrainian/mythes/Makefile	Mon Nov  4 11:02:46 2013	(r332690)
+++ head/ukrainian/mythes/Makefile	Mon Nov  4 11:11:44 2013	(r332691)
@@ -22,12 +22,11 @@ PLIST_FILES=	%%DATADIR%%/th_uk_UA.dat \
 		%%DATADIR%%/th_uk_UA.idx
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 do-build:
 	@${PERL} ${WRKSRC}/bin/th_gen_idx.pl < ${WRKSRC}/src/thesaurus/th_uk_UA.dat > ${WRKSRC}/src/thesaurus/th_uk_UA.idx
 
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/src/thesaurus/th_uk_UA.dat ${WRKSRC}/src/thesaurus/th_uk_UA.idx ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/src/thesaurus/th_uk_UA.dat ${WRKSRC}/src/thesaurus/th_uk_UA.idx ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



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