Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 10:45:07 +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: r332686 - head/polish/hunspell
Message-ID:  <201311041045.rA4Aj7ZZ025968@svn.freebsd.org>

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

Log:
  Use tar to extract, while here, stagify

Modified:
  head/polish/hunspell/Makefile

Modified: head/polish/hunspell/Makefile
==============================================================================
--- head/polish/hunspell/Makefile	Mon Nov  4 10:40:33 2013	(r332685)
+++ head/polish/hunspell/Makefile	Mon Nov  4 10:45:06 2013	(r332686)
@@ -13,19 +13,19 @@ COMMENT=	Polish hunspell dictionaries
 LICENSE=	LGPL21 GPLv2 MPL
 LICENSE_COMB=	dual
 
-USE_ZIP=	yes
+EXTRACT_SUFX=	.zip
 NO_BUILD=	yes
 
 PLIST_FILES=	%%DATADIR%%/pl_PL.aff \
 		%%DATADIR%%/pl_PL.dic
 PLIST_DIRSTRY=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-extract:
-	@${EXTRACT_CMD} ${WRKDIR}/pl_PL.zip -d ${WRKSRC}/
+	@${MKDIR} ${WRKSRC}
+	@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKDIR}/pl_PL.zip -C ${WRKSRC}/
 
 do-install:
-	${MKDIR} ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/pl_PL.aff ${WRKSRC}/pl_PL.dic ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/pl_PL.aff ${WRKSRC}/pl_PL.dic ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



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