summaryrefslogtreecommitdiffstats
path: root/sysutils/clockspeed/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-07-07 14:30:01 +0000
committersobomax <sobomax@FreeBSD.org>2000-07-07 14:30:01 +0000
commit7105b9a9079c1eeadd130f1b40caf00d8260eab6 (patch)
tree8b354ab98ce81a4f0d8a82533f46086b3efca6f5 /sysutils/clockspeed/Makefile
parentd29864dce512e7909541eb5b23c0a8486f4ad7f4 (diff)
downloadFreeBSD-ports-7105b9a9079c1eeadd130f1b40caf00d8260eab6.zip
FreeBSD-ports-7105b9a9079c1eeadd130f1b40caf00d8260eab6.tar.gz
Add clockspeed - a program which uses a hardware tick counter to compensate
for a persistently fast or slow system clock. It also could be used to synchronize time across LAN or WAN. PR: 19349 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Diffstat (limited to 'sysutils/clockspeed/Makefile')
-rw-r--r--sysutils/clockspeed/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/clockspeed/Makefile b/sysutils/clockspeed/Makefile
new file mode 100644
index 0000000..51f0f00
--- /dev/null
+++ b/sysutils/clockspeed/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: clockspeed
+# Date created: 16 June 2000
+# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al.
+#
+# $FreeBSD$
+#
+
+PORTNAME= clockspeed
+PORTVERSION= 0.62
+CATEGORIES= sysutils
+MASTER_SITES= http://cr.yp.to/clockspeed/
+
+MAINTAINER= lioux@linf.unb.br
+
+LIB_DEPENDS= tai.1:${PORTSDIR}/devel/libtai
+
+ALL_TARGET= it
+INSTALL_TARGET= setup check
+
+MAN1= clockadd.1 clockspeed.1 clockview.1 sntpclock.1 \
+ taiclock.1 taiclockd.1
+
+.if defined(NOPORTDOCS)
+PLIST_SUB+= PORTDOCS:="@comment "
+.else
+PLIST_SUB+= PORTDOCS:=
+.endif
+
+do-configure:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/INSTALL
+ @${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
+ @${ECHO} ${CC} -s -L${LOCALBASE}/lib > ${WRKSRC}/conf-ld
+ @${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
+ ${PREFIX}/share/doc/clockspeed
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/clockspeed
+.endif
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
+ ${PREFIX}/etc/clockspeed
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud