summaryrefslogtreecommitdiff
path: root/net/msntp
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-06 13:07:51 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-06 13:07:51 +0000
commit7d2e160d94bb5a83c5353df6e34d9794ba552e8c (patch)
tree13a691e64f77df8cc2936c489de1130068780a41 /net/msntp
parentRemove the BUILD_DEPENDS for gcc28; we don't need gcc28 to be built or (diff)
Add msntp 1.6, a straightforward SNTP (Simple Network Time Protocol)
daemon/utility. PR: ports/50631 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=78414
Diffstat (limited to 'net/msntp')
-rw-r--r--net/msntp/Makefile28
-rw-r--r--net/msntp/distinfo1
-rw-r--r--net/msntp/pkg-descr7
-rw-r--r--net/msntp/pkg-plist4
4 files changed, 40 insertions, 0 deletions
diff --git a/net/msntp/Makefile b/net/msntp/Makefile
new file mode 100644
index 000000000000..b87b51e40b1f
--- /dev/null
+++ b/net/msntp/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: msntp
+# Date created: 4 April 2003
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= msntp
+PORTVERSION= 1.6
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.openpkg.org/sources/DST/${PORTNAME}/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A straightforward SNTP daemon/utility
+
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-lm"
+CFLAGS+= -DLOCKNAME='\"/var/run/msntp.pid\"'
+CFLAGS+= -DSAVENAME='\"/var/db/msntp.state\"'
+MAN1= msntp.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/msntp ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/msntp.1 ${PREFIX}/man/man1
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/net/msntp/distinfo b/net/msntp/distinfo
new file mode 100644
index 000000000000..4a6e1a086e6b
--- /dev/null
+++ b/net/msntp/distinfo
@@ -0,0 +1 @@
+MD5 (msntp-1.6.tar.gz) = 3eefa15ace8567b46dfa67259407c333
diff --git a/net/msntp/pkg-descr b/net/msntp/pkg-descr
new file mode 100644
index 000000000000..8ab379096b40
--- /dev/null
+++ b/net/msntp/pkg-descr
@@ -0,0 +1,7 @@
+MSNTP can be used as a SNTP client to query a NTP or SNTP server and
+either display the time or set the local system's time (given suitable
+privilege). It can be run as an interactive command, in a cron job or
+as a daemon. It can be run as a daemon to provide a SNTP server for
+other clients.
+
+Author: N.M. Maclaren at the University of Cambridge
diff --git a/net/msntp/pkg-plist b/net/msntp/pkg-plist
new file mode 100644
index 000000000000..632cd5ec0bb1
--- /dev/null
+++ b/net/msntp/pkg-plist
@@ -0,0 +1,4 @@
+bin/msntp
+%%DOCSDIR%%/Copyright
+%%DOCSDIR%%/README
+@dirrm %%DOCSDIR%%