Ticket #20381: Portfile-nzbget.diff
File Portfile-nzbget.diff, 2.4 KB (added by fracai, 15 years ago) |
---|
-
Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 4 name nzbget5 version 0.2.36 categories net7 maintainers nomaintainer8 description binary newsgrabber9 long_description \10 A command-line based binary newsgrabber for Linux, Unix \11 and Mac OS X supporting nzb-files.12 homepage http://sourceforge.net/projects/nzbget/13 platforms darwin14 master_sites sourceforge15 patchfiles patch-Coordinator.cpp patch-NZBQueue.h patch-NCursesFrontend.cpp \16 patch-NZBQueue.cpp patch-NZBQueueCoordinator.cpp patch-nzbget.cpp17 checksums md5 25554537c7641bd36f573a5f7c89b44918 5 19 depends_lib port:libxml2 6 name nzbget 7 version 0.6.0 8 categories net 9 maintainers nomaintainer 20 10 21 configure.args --with-libxml2-includes=${prefix}/include/libxml2 11 description binary newsgrabber 12 long_description \ 13 A command-line based binary newsgrabber for Linux, Unix, \ 14 and Mac OS X supporting nzb-files. 22 15 23 platform darwin 9 { 24 configure.cppflags-append -D__DARWIN_UNIX03 16 homepage http://sourceforge.net/projects/nzbget/ 17 platforms darwin 18 master_sites sourceforge 19 20 checksums \ 21 sha1 c01b455e221c6075f7543de7d953966a527a6b6e \ 22 md5 eb95b3930abffb570e37af8d284c1f9d \ 23 rmd160 7dacc0a24efb66019de99fd6b143c97a559883ba 24 25 depends_lib \ 26 port:libpar2 \ 27 port:libxml2 28 29 configure.args LIBS=-lcrypto --mandir=${prefix}/share/man 30 31 post-destroot { 32 set docdir ${prefix}/share/doc/${name}-${version} 33 xinstall -d ${destroot}${docdir} 34 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING INSTALL NEWS README \ 35 nzbget.conf.example ${destroot}${docdir} 25 36 } 26 37 27 destroot { 28 xinstall ${worksrcpath}/nzbget ${destroot}${prefix}/bin/nzbget 29 30 file mkdir ${destroot}${prefix}/share/doc/nzbget 31 foreach file {CHANGELOG COPYING README TODO nzbget.cfg.example} { 32 xinstall ${worksrcpath}/${file} ${destroot}${prefix}/share/doc/nzbget 33 } 38 post-activate { 39 ui_msg "An example configuration file has been installed at\ 40 ${prefix}/share/doc/${name}-${version}/nzbget.conf.example" 34 41 } 42 43 livecheck.distname nzbget-stable