svn commit: r356023 - head/comms/chu

John Marino marino at FreeBSD.org
Sat May 31 21:31:53 UTC 2014


Author: marino
Date: Sat May 31 21:31:52 2014
New Revision: 356023
URL: http://svnweb.freebsd.org/changeset/ports/356023
QAT: https://qat.redports.org/buildarchive/r356023/

Log:
  comms/chu: Simplify port by eliminating custom extraction target
  
  The default extract target can be used if NO_WRKSUBDIR is set.  The
  only unique command is the gunzip, which works well as a post-extract
  target.  This eliminates the undefined use of EXTRACT_CMD to ensure
  the port keeps working in the future.

Modified:
  head/comms/chu/Makefile

Modified: head/comms/chu/Makefile
==============================================================================
--- head/comms/chu/Makefile	Sat May 31 21:22:21 2014	(r356022)
+++ head/comms/chu/Makefile	Sat May 31 21:31:52 2014	(r356023)
@@ -13,16 +13,9 @@ COMMENT=	Synchronise computer clock to C
 
 LICENSE=	GPLv1
 
-do-extract:
-	@${RM} -rf ${WRKDIR}
-	@${MKDIR} ${WRKDIR}
-	@${MKDIR} ${WRKSRC}
-	@for f in ${EXTRACT_ONLY}; do  \
-		if ! (cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS});\
-		then \
-			exit 1; \
-		fi \
-	done
+NO_WRKSUBDIR=	yes
+
+post-extract:
 	@${GZIP_CMD} -d ${WRKSRC}/testsignal.gz
 
 post-patch:


More information about the svn-ports-all mailing list