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

Last change on this file since 33297 was 33297, checked in by ryandesign@…, 11 years ago

For all nomaintainer and openmaintainer ports, remove occurrences of

platform darwin 8 {
    configure.compiler gcc-4.0
}

MacPorts 1.6 already ensures that GCC 4.0 is used by default on Tiger. See #14046.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 33297 2008-01-23 09:32:47Z ryandesign@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
Note: See TracBrowser for help on using the repository browser.