source: trunk/dports/net/openntpd/Portfile @ 30239

Last change on this file since 30239 was 30239, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in net category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name                    openntpd
6version                 3.9p1
7categories              net
8platforms               darwin
9maintainers             nomaintainer
10description             free, easy to use implementation of the Network Time Protocol
11long_description        OpenNTPD is a free, easy to use implementation of the \
12                                Network Time Protocol. It provides the ability to sync the \
13                                local clock to remote NTP servers and can act as NTP server \
14                                itself, redistributing the local clock.
15
16homepage                http://www.openntpd.org/
17master_sites    openbsd:OpenNTPD
18checksums               sha1 098a435d02886a9e4d34afb15b15fde795eda1e9
19
20configure.args  --mandir=${prefix}/share/man
21
22pre-destroot {
23        addgroup _ntp gid=[nextgid] users="_ntp"
24        set gid [existsgroup _ntp]
25        adduser _ntp gid=${gid} password={\*} uid=[nextuid] \
26                home=${prefix}/var/db/ntpd shell=/usr/bin/false \
27                realname=OpenNTPD\ Server
28}
29
30post-destroot   {
31        file rename ${destroot}${prefix}/etc/ntpd.conf \
32                ${destroot}${prefix}/etc/ntpd.conf.sample
33        xinstall -m 755 -d ${destroot}${prefix}/var/db/ntpd
34}
35destroot.keepdirs       ${destroot}${prefix}/var/db/ntpd
36
37platform darwin 8 {
38        configure.compiler      gcc-4.0
39}
40
Note: See TracBrowser for help on using the repository browser.