diff options
author | John Marino <marino@FreeBSD.org> | 2014-05-31 21:31:52 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-05-31 21:31:52 +0000 |
commit | 2d6a35c40512f49743c46e3aed875049d6cfd803 (patch) | |
tree | 5e90f64d0ffe4bde7cdc1c8a5ece71bede772e20 /comms/chu | |
parent | Fix LEGAL/LICENSE* for multimedia/vtkmpeg2encode. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=356023
Diffstat (limited to 'comms/chu')
-rw-r--r-- | comms/chu/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/comms/chu/Makefile b/comms/chu/Makefile index 89762b5ac2c9..c15ae248b5b1 100644 --- a/comms/chu/Makefile +++ b/comms/chu/Makefile @@ -13,16 +13,9 @@ COMMENT= Synchronise computer clock to CHU radio station 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: |