svn commit: r356047 - head/textproc/s5
John Marino
marino at FreeBSD.org
Sun Jun 1 07:12:38 UTC 2014
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
More information about the svn-ports-head
mailing list