summaryrefslogtreecommitdiff
path: root/net/openntpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/Makefile')
-rw-r--r--net/openntpd/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
new file mode 100644
index 00000000000..38abceb25b2
--- /dev/null
+++ b/net/openntpd/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
+
+DISTNAME= openntpd-20040719p
+CATEGORIES= net
+MASTER_SITES= http://www.openntpd.org/dist/portable/
+
+MAINTAINER= peter@pointless.nl
+HOMEPAGE= http://www.openntpd.org/
+COMMENT= Free implementation of the Network Time Protocol
+
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
+
+EGDIR= ${PREFIX}/share/examples/openntpd
+CONF_FILES= ${EGDIR}/ntpd.conf ${PKG_SYSCONFDIR}/ntpd.conf
+
+RCD_SCRIPTS= openntpd
+PKG_USERS= _ntp:nogroup::ntpd\\ pseudo-user:${VARBASE}/chroot/ntpd:/sbin/nologin
+
+OWN_DIRS= ${VARBASE}/chroot/ntpd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${PREFIX}/sbin/ntpd
+ ${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${PREFIX}/man/man8/ntpd.8
+ ${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${PREFIX}/man/man5/ntpd.conf.5
+
+post-install:
+ @${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${EGDIR}/ntpd.conf
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"