source: trunk/dports/news/slrn-devel/Portfile @ 22127

Last change on this file since 22127 was 22127, checked in by jmpp@…, 13 years ago

Forgot again to set the svn properties on a new Portfile, we really need to get a pre-commit hook up there!

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1
2PortSystem              1.0
3name                    slrn-devel
4set betaversion         0.9.8.1pl2
5set cvsversion          20070125
6version                 ${betaversion}-${cvsversion}
7categories              news net
8platforms               darwin
9maintainers             sbranzo@gmail.com
10homepage                http://slrn.sourceforge.net/
11description             A powerful console-based newsreader
12
13long_description        slrn is an easy to use but powerful NNTP/spool based \
14                        newsreader.  It is highly customizable, supports \
15                        scoring, free key bindings, and can be extended using \
16                        the SLang macro language.
17                       
18master_sites            http://ftp.debian.org/debian/pool/main/s/slrn/
19distname                slrn_${betaversion}~cvs${cvsversion}.orig
20worksrcdir              slrn-${betaversion}~cvs${cvsversion}
21checksums               sha1 6154f18f059c707d281a0627c7186cbe376729a4
22
23use_bzip2               no
24
25depends_lib             port:slang2 \
26                        port:libiconv
27
28
29# Works for tiger (automake-1.6)
30pre-configure           {
31                        system "cd ${worksrcpath}/autoconf; rm config.guess config.sub depcomp install-sh missing"
32                        system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/config.guess config.guess"
33                        system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/config.sub config.sub"
34                        system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/depcomp depcomp"
35                        system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/install-sh install-sh"
36                        system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/missing missing"
37                        }
38
39configure.args          --with-libiconv-prefix=${prefix}
40
41# adds slrnpull
42variant pull            { configure.args-append --with-slrnpull }
43
44# ssl variant           
45variant ssl             {
46                        configure.args-append   --with-ssl=${prefix} \
47                                                --with-ssl-includes=${prefix}/include/openssl
48                       
49                        depends_lib-append      port:openssl
50}
Note: See TracBrowser for help on using the repository browser.