svn commit: r317378 - head/comms/chu

Baptiste Daroussin bapt at FreeBSD.org
Sat May 4 22:12:36 UTC 2013


Author: bapt
Date: Sat May  4 22:12:35 2013
New Revision: 317378
URL: http://svnweb.freebsd.org/changeset/ports/317378

Log:
  Fix extraction

Modified:
  head/comms/chu/Makefile

Modified: head/comms/chu/Makefile
==============================================================================
--- head/comms/chu/Makefile	Sat May  4 22:09:58 2013	(r317377)
+++ head/comms/chu/Makefile	Sat May  4 22:12:35 2013	(r317378)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	chu
-# Date created:				September 16 2006
-# Whom:					Diane Bruce <db at db.net>
-#
+# Created by: Diane Bruce <db at db.net>
 # $FreeBSD$
-#
 
 PORTNAME=	chu
 PORTVERSION=	0.1.29
@@ -17,6 +13,8 @@ COMMENT=	Synchronise computer clock to C
 
 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 \


More information about the svn-ports-all mailing list