Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 07:12:37 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356047 - head/textproc/s5
Message-ID:  <201406010712.s517Cbfm095302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jun  1 07:12:37 2014
New Revision: 356047
URL: http://svnweb.freebsd.org/changeset/ports/356047
QAT: https://qat.redports.org/buildarchive/r356047/

Log:
  textproc/s5: use TAR instead of EXTRACT_CMD
  
  This actually changes the extract tool from /usr/bin/unzip to /usr/bin/tar
  because UNZIP_CMD currently refers to $LOCALBASE/bin/unzip so using that
  would require a new dependency on info.
  
  To avoid adding a new dependency, just use TAR which works fine.

Modified:
  head/textproc/s5/Makefile

Modified: head/textproc/s5/Makefile
==============================================================================
--- head/textproc/s5/Makefile	Sun Jun  1 07:00:17 2014	(r356046)
+++ head/textproc/s5/Makefile	Sun Jun  1 07:12:37 2014	(r356047)
@@ -22,7 +22,7 @@ S5_DIR=		${PREFIX}/share/${PORTNAME}
 S5_SUBDIRS=	pix primer s5-blank ui
 
 post-extract:
-		cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} s5-blank.zip ${EXTRACT_AFTER_ARGS}
+		cd ${WRKSRC} && ${TAR} -xf s5-blank.zip
 		${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.sh > ${WRKDIR}/s5
 		${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.1 > ${WRKDIR}/s5.1
 		${FIND} ${WRKDIR} -type f -name .DS_Store -delete



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