source: trunk/dports/net/whois/Portfile @ 23764

Last change on this file since 23764 was 23764, checked in by mij@…, 14 years ago

Drop maintainership on my ports. This is mainly because a) I no longer
use most of these, and b) I don't really have the time to maintain them
anymore.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 23764 2007-04-09 04:51:25Z mij@macports.org $
2
3PortSystem 1.0
4name            whois
5version         4.7.20
6categories      net
7maintainers     nomaintainer@macports.org
8description     A replacement whois client
9homepage        http://www.linux.it/~md/software/
10platforms       darwin
11
12long_description \
13                whois is an improved whois client that follow the \
14                delegations from the Verisign whois server.
15
16master_sites    http://ftp.debian.org/debian/pool/main/w/${name}
17
18checksums       md5 81cea7350890d2a4dc974f661be31c7d \
19                sha1 e30854ce446b309229da8c88b55f35bb1c974e80 \
20                rmd160 731daccb9fb2c7836967cd124982b0bb61a3b838
21
22distname        ${name}_${version}
23
24worksrcdir      ${name}-${version}
25
26depends_lib     port:gettext
27use_configure   no
28
29post-configure  {
30        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
31        reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/config.h
32        reinplace "s|\$(BASEDIR)/usr|${destroot}${prefix}|g" \
33                ${worksrcpath}/po/Makefile
34        reinplace "s|/etc/whois.conf|${prefix}/etc/whois.conf|g" \
35                ${worksrcpath}/whois.1
36}
37
38build.env       CFLAGS="-DENABLE_NLS -I${prefix}/include" \
39                LDFLAGS="-L${prefix}/lib -lintl"
40
41destroot.args   prefix=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.