Changeset 68756 for trunk/dports
- Timestamp:
- Jun 12, 2010, 5:25:22 PM (14 years ago)
- Location:
- trunk/dports/mail/listat
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/mail/listat/Portfile
r43749 r68756 4 4 5 5 name listat 6 version 1.0 6 version 2.1.1 7 set major [lindex [split ${version} .] 0] 7 8 categories mail textproc 8 9 platforms darwin … … 14 15 homepage http://wordsmith.org/anu/listat/ 15 16 master_sites ${homepage} 16 distname listat 17 checksums md5 0a8a9fa805c884c4964b1994a0f231e0 17 dist_subdir ${name}/${version} 18 distname ${name} 19 worksrcdir ${name}${major} 20 21 checksums md5 cf423b971ebc95813faebc895d04bae2 \ 22 sha1 76eaf995fe2d6c9343077173580d71ab1ab50576 \ 23 rmd160 8f9eeb926dae002b6deeb3df9e3c6aa72fc2c994 24 25 depends_run path:bin/perl:perl5 26 18 27 patchfiles patch-listat \ 19 28 patch-listat.conf \ 20 29 patch-subdomains.txt 21 30 22 depends_run path:bin/perl:perl5 23 24 worksrcdir ${name}_${version} 25 26 27 configure { 31 post-patch { 28 32 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/listat 29 33 } 34 35 use_configure no 36 supported_archs noarch 30 37 31 38 build {} -
trunk/dports/mail/listat/files/patch-listat
r21488 r68756 1 --- listat Fri May 15 20:01:10 19982 +++ ../../listat Thu Sep 16 09:09:52 20041 --- listat.orig 2009-09-10 12:42:57.000000000 -0500 2 +++ listat 2010-06-12 12:16:32.000000000 -0500 3 3 @@ -1,4 +1,4 @@ 4 -#!/usr/ local/bin/perl5 +#! /usr//bin/env perl4 -#!/usr/bin/perl 5 +#!__PREFIX__/bin/perl 6 6 7 # $Id: patch-listat,v 1.1 2004/09/17 00:04:13 mww Exp $ 7 # Listat: Generate statistical report about your mailing list 8 # http://wordsmith.org/anu/listat 9 @@ -11,9 +11,9 @@ 8 10 9 @@ -11,9 +11,9 @@10 11 #------------------------------------------------------------------------------- 11 sub init{ 12 $| = 1; # Force unbuffered I/O 13 - $subdomainlist = "subdomains.txt";# Space delimited file with domain info 14 - $domainlist = "domains.txt"; # Tab delimited file with domain info 15 - $flag_dir = "flags"; # Directory with flags images 16 + $subdomainlist = "__PREFIX__/share/listat/subdomains.txt";# Space delimited file with domain info 17 + $domainlist = "__PREFIX__/share/listat/domains.txt"; # Tab delimited file with domain info 18 + $flag_dir = "__PREFIX__/share/listat/flags"; # Directory with flags images 19 $addresslist = ""; # List file with email addresses, one per line 20 $textstats = ""; # File where stats are written 21 $htmlstats = ""; # File where HTML stats are written 22 @@ -31,7 +31,7 @@ 23 # so many email addresses have been processed 24 $tick_value = "."; # The character to be used in the above 25 $bad_addresses = ""; # Listing of addresses with invalid domain 26 - $config = "listat.conf"; # Config file 27 + $config = "__PREFIX__/etc/listat.conf"; # Config file 28 require "getopts.pl"; # To process command line arguments 29 30 # Read config file 12 $| = 1; # Force unbuffered I/O 13 -my $subdomainlist = "subdomains.txt"; # Space delimited file with domain info 14 -my $domainlist = "domains.txt";# Tab delimited file with domain info 15 -my $flag_dir = "flags"; # Directory with flags images 16 +my $subdomainlist = "__PREFIX__/share/listat/subdomains.txt"; # Space delimited file with domain info 17 +my $domainlist = "__PREFIX__/share/listat/domains.txt";# Tab delimited file with domain info 18 +my $flag_dir = "__PREFIX__/share/listat/flags"; # Directory with flags images 19 my $addresslist = ""; # List file, one email address per line 20 my $textstats = ""; # Output file for text stats 21 my $htmlstats = ""; # Output file for HTML stats 22 @@ -28,7 +28,7 @@ 23 my $bad_count = 0; # Count of addresses that can't be processed 24 my $verbose = 0; # Verbose mode 25 my $bad_addresses = ""; # Listing of addresses with invalid domain 26 -my $config = "listat.conf"; # Config file 27 +my $config = "__PREFIX__/etc/listat.conf"; # Config file 28 my @subdomain = {}; # Subdomains for which subdomain report is done 29 my $topsubdomain; # How many top subdomain to list for each subdom 30 #require "getopts.pl"; # To process command line arguments -
trunk/dports/mail/listat/files/patch-listat.conf
r21488 r68756 1 --- listat.conf Fri May 15 19:58:06 1998 2 +++ listat.conf.new Thu Sep 16 09:22:59 2004 3 @@ -50,8 +50,8 @@ 1 --- listat.conf.orig 2009-09-10 12:42:57.000000000 -0500 2 +++ listat.conf 2010-06-12 12:18:36.000000000 -0500 3 @@ -35,7 +35,7 @@ 4 # You should not need to change any of the settings below 4 5 5 6 # Where is domain information? 6 7 7 -DOMAINLIST domains.txt 8 8 +#DOMAINLIST domains.txt 9 9 10 # Where is subdomain information? 11 10 # Where is subdomain information cached? 12 11 -SUBDOMAINLIST subdomains.txt 13 12 +#SUBDOMAINLIST subdomains.txt -
trunk/dports/mail/listat/files/patch-subdomains.txt
r21488 r68756 1 --- subdomains.txt Sun Dec 28 23:24:49 19972 +++ ../../subdomains.txt Thu Sep 16 09:29:31 20043 @@ -39 66,6 +3966,7 @@4 findsvp.com Find/SVP 5 findyn.com Financial Dynamics, Inc. 6 fingerhut.com Fingerhut Companies Inc. 7 +fink .sourceforge.netThe Fink Project8 finnegan.com Finnegan,Henderson,Farabow,Garrett, & Dunner 9 finnpower.com Finn-Power International 10 finsbury.com Finsbury Ltd 11 @@ -444 1,6 +4442,7 @@12 gnt.net GulfNet Technologies, Destin 13 gntech.net Great Northern Technologies 14 gntx.com Gentex Corporation 1 --- subdomains.txt.orig 2009-09-10 12:42:57.000000000 -0500 2 +++ subdomains.txt 2010-06-12 12:22:37.000000000 -0500 3 @@ -3973,6 +3973,7 @@ 4 findsvp.com Find/SVP 5 findyn.com Financial Dynamics, Inc. 6 fingerhut.com Fingerhut Companies Inc. 7 +finkproject.org The Fink Project 8 finnegan.com Finnegan,Henderson,Farabow,Garrett, & Dunner 9 finnpower.com Finn-Power International 10 finsbury.com Finsbury Ltd 11 @@ -4449,6 +4450,7 @@ 12 gnt.net GulfNet Technologies, Destin 13 gntech.net Great Northern Technologies 14 gntx.com Gentex Corporation 15 15 +gnu-darwin.org The GNU-Darwin Project 16 go-pc.com PC Computer Consultants Inc. 17 go2net.com Go2Net, Inc. 18 goal-partners.com Goal-Partners, Inc. 19 @@ -8310,6 +8312,7 @@ 20 opc.com Oglethorpe Power Corporation 21 opcode.com Opcode Systems 22 open.org Marion Salem Data Center 23 +opendarwin.org The OpenDarwin Project 24 openhorizon.com Open Horizon 25 openix.com Macrosoft 26 openmarket.com Open Market, Inc. 16 go-pc.com PC Computer Consultants Inc. 17 go2net.com Go2Net, Inc. 18 goal-partners.com Goal-Partners, Inc. 19 @@ -6605,6 +6607,8 @@ 20 maco.net Matrix Communications 21 macom.com M/A-COM, Incorporated 22 macomb.com Infobahn Outfitters 23 +macosforge.org Mac OS Forge 24 +macports.org The MacPorts Project 25 macromedia.com Macromedia 26 macrowerx.com Ultra Violet Catastrophe 27 macs.net Net Ramp, Inc
Note: See TracChangeset
for help on using the changeset viewer.