source: trunk/dports/net/cvsync/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             cvsync
6version          0.24.18
7revision         2
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.