diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-05 06:12:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-05 06:12:35 +0800 |
commit | 0af41b669cb8b1b263f2f2d07f9e54e67e3dcae6 (patch) | |
tree | 990f57545c45bfabcc5d2272c3d5ee7e9de371d2 /comms/chu | |
parent | 2c14f46b9c6621d95dbfcbcf63c21295d71058ff (diff) | |
download | freebsd-ports-gnome-0af41b669cb8b1b263f2f2d07f9e54e67e3dcae6.tar.gz freebsd-ports-gnome-0af41b669cb8b1b263f2f2d07f9e54e67e3dcae6.tar.zst freebsd-ports-gnome-0af41b669cb8b1b263f2f2d07f9e54e67e3dcae6.zip |
Fix extraction
Diffstat (limited to 'comms/chu')
-rw-r--r-- | comms/chu/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/comms/chu/Makefile b/comms/chu/Makefile index c6404c19fbec..ce043b9f0e69 100644 --- a/comms/chu/Makefile +++ b/comms/chu/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: chu -# Date created: September 16 2006 -# Whom: Diane Bruce <db@db.net> -# +# Created by: Diane Bruce <db@db.net> # $FreeBSD$ -# PORTNAME= chu PORTVERSION= 0.1.29 @@ -17,6 +13,8 @@ COMMENT= Synchronise computer clock to CHU radio station MAN8= chu.8 +.include <bsd.port.options.mk> + do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} @@ -27,7 +25,7 @@ do-extract: exit 1; \ fi \ done - ${EXTRACT_CMD} -d ${WRKSRC}/testsignal.gz + ${GZIP_CMD} -d ${WRKSRC}/testsignal.gz post-patch: ${REINPLACE_CMD} -e 's|/etc/chu|${PREFIX}/etc/chu|g' ${WRKSRC}/chu.c ${WRKSRC}/chu.8 @@ -39,7 +37,7 @@ do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/testsignal ${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chu.8 ${PREFIX}/man/man8 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for d in ${WRKSRC}/COPYING \ ${WRKSRC}/TESTING \ |