Ticket #49571: backuppc.Portfile.diff
File backuppc.Portfile.diff, 2.6 KB (added by mojca (Mojca Miklavec), 9 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup active_variants 1.1 6 PortGroup perl5 1.0 5 7 6 8 name backuppc 7 9 categories sysutils 8 10 version 3.1.0 9 revision 2 10 set perl_version 5.16 11 revision 3 11 12 maintainers nomaintainer 12 13 license GPL-2+ 13 14 homepage http://backuppc.sourceforge.net/ … … 19 20 20 21 master_sites sourceforge 21 22 23 # TODO: 24 # - remove 5.16 once we upgrade to 5.22 as default 25 # - remove the variants once mod_perl2 switches to 5.22 only 26 perl5.require_variant yes 27 perl5.conflict_variants yes 28 perl5.branches 5.16 5.22 29 perl5.create_variants ${perl5.branches} 30 # TODO: this has to be the same branch as for mod_perl2 31 perl5.default_branch 5.22 32 require_active_variants mod_perl2 ${perl5.variant} 33 22 34 depends_lib port:bzip2 \ 23 35 port:gnutar \ 24 36 port:gzip \ 25 37 port:mod_perl2 \ 26 38 port:openssh \ 27 port:p${perl _version}-archive-zip \28 port:p${perl _version}-compress-raw-zlib \29 port:p${perl _version}-file-rsyncp \39 port:p${perl5.major}-archive-zip \ 40 port:p${perl5.major}-compress-raw-zlib \ 41 port:p${perl5.major}-file-rsyncp \ 30 42 port:par2 \ 31 port:perl${perl _version} \43 port:perl${perl5.major} \ 32 44 port:rsync \ 33 45 port:samba3 34 46 47 35 48 distname BackupPC-${version} 36 49 37 checksums md5 84b4471852ef910768eae9963ef932d2 \ 38 sha1 3bd6d637f4f08f2fda44a12668b91d47c4abb0a7 \ 39 rmd160 22d4cb6dd76f846fde489a301852f50e8db1ae1d 50 checksums rmd160 22d4cb6dd76f846fde489a301852f50e8db1ae1d \ 51 sha256 49a2744cb9aaf27b298ec3d2e83e46fdb86fb3596922beb3904cb6ae552c148a 40 52 41 53 configure.args --batch \ 42 54 --backuppc-user=backuppc \ … … 102 114 xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/log/BackupPC 103 115 104 116 # create backup directory 105 system -W ${worksrcpath} "${prefix}/bin/perl${perl _version} configure.pl ${configure.args}"117 system -W ${worksrcpath} "${prefix}/bin/perl${perl5.major} configure.pl ${configure.args}" 106 118 xinstall -d -m 755 ${destroot}${prefix}/share/doc/ 107 119 move ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc/BackupPC 108 120