Ticket #14716: Portfile

File Portfile, 859 bytes (added by julio@…, 17 years ago)
Line 
1# $Id: Portfile 30232 2007-10-22 23:05:56Z jmpp@macports.org $
2
3PortSystem 1.0
4name             irssistats
5version          0.75
6categories       irc
7maintainers      nomaintainer
8description      generate IRC statistics from irssi logs
9long_description \
10        This tool generates IRC stats based on irssi logs.
11homepage         http://royale.zerezo.com/irssistats/
12platforms        darwin
13master_sites     ${homepage}
14checksums        md5 f3654fd292220bd9adada7ff6c7f0421
15
16patch {
17        reinplace "s|/etc|${prefix}/etc|" \
18                ${worksrcpath}/irssistats.1 \
19                ${worksrcpath}/irssistats.c \
20                ${worksrcpath}/irssistats.sgml \
21                ${worksrcpath}/sample.configfile
22        reinplace "s|/usr|${prefix}|" \
23                ${worksrcpath}/irssistats.1 \
24                ${worksrcpath}/irssistats.sgml
25}
26
27use_configure    no
28
29build.target CFLAGS="-O2 -fnested-functions"
30
31destroot.destdir PRE=${destroot}${prefix}