source: trunk/dports/net/cvsync/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name             cvsync
6version          0.24.18
7revision         1
8categories       net
9license          BSD
10maintainers      nomaintainer
11description      cvsync is a portable CVS repository synchronization utility
12long_description \
13    cvsync is a portable CVS repository synchronization utility. \
14    cvsync is freely available under the BSD license and is a \
15    compelling, if not raw, replacement for CVSup written in C.
16homepage         http://www.cvsync.org/
17platforms        darwin
18master_sites     ftp://ftp.cvsync.org/pub/cvsync/
19checksums        md5 cdabce7d2b21cc5de41e711c3f7ea7be
20
21depends_lib      path:lib/libssl.dylib:openssl port:zlib
22
23patchfiles       patch-common__updater_list.c \
24                 patch-cvsyncd__main.c \
25                 patch-mk__base.mk \
26                 patch-mk__network.mk
27
28post-patch {
29        reinplace s|/var/run|$prefix/var/run| \
30                $worksrcpath/cvsyncd/cvsyncd.1 \
31                $worksrcpath/cvsyncd/main.c
32}
33
34configure.cmd    make
35configure.pre_args configure
36configure.args   HASH_TYPE=openssl \
37                 PREFIX=${prefix}
38build.args       CVSYNC_DEFAULT_CONFIG=${prefix}/etc/cvsync.conf \
39                 CVSYNCD_DEFAULT_CONFIG=${prefix}/etc/cvsyncd.conf
40destroot.args    ${build.args}
41destroot.destdir PREFIX=${destroot}${prefix} \
42                 MANDIR=${destroot}${prefix}/share/man
43
44post-destroot {
45    file mkdir ${destroot}${prefix}/share/doc/${name}
46    file copy ${worksrcpath}/samples ${destroot}${prefix}/share/doc/${name}
47    destroot.keepdirs ${destroot}${prefix}/var/run
48}
49
50notes "You must create two configuration files:
51  ${prefix}/etc/cvsync.conf
52  ${prefix}/etc/cvsyncd.conf
53
54For examples, see ${prefix}/share/doc/${name}/"
Note: See TracBrowser for help on using the repository browser.