Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2014 21:31:53 +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: r356023 - head/comms/chu
Message-ID:  <201405312131.s4VLVrXn039688@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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