[31979] trunk/dports/net/whois/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Dec 12 19:34:44 PST 2007
Revision: 31979
http://trac.macosforge.org/projects/macports/changeset/31979
Author: ryandesign at macports.org
Date: 2007-12-12 19:34:43 -0800 (Wed, 12 Dec 2007)
Log Message:
-----------
whois: whitespace changes, expand tabs
Modified Paths:
--------------
trunk/dports/net/whois/Portfile
Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile 2007-12-13 02:48:29 UTC (rev 31978)
+++ trunk/dports/net/whois/Portfile 2007-12-13 03:34:43 UTC (rev 31979)
@@ -1,47 +1,52 @@
# $Id$
-PortSystem 1.0
-name whois
-version 4.7.24
-categories net
-maintainers nomaintainer
-description A replacement whois client
-homepage http://www.linux.it/~md/software/
-platforms darwin
+PortSystem 1.0
+name whois
+version 4.7.24
+categories net
+maintainers nomaintainer
+homepage http://www.linux.it/~md/software/
+platforms darwin
+
+description \
+ A replacement whois client
+
long_description \
- whois is an improved whois client that follow the \
- delegations from the Verisign whois server.
+ whois is an improved whois client that follow the \
+ delegations from the Verisign whois server.
-master_sites http://ftp.debian.org/debian/pool/main/w/${name}/
+master_sites \
+ http://ftp.debian.org/debian/pool/main/w/${name}/
checksums \
- md5 479ebc79d1e8189e16ab51b4d8981529 \
- sha1 1573cf8a7fc5435a439975ad492e710344cfc874 \
- rmd160 372f872be5c7ba534994a924d64e664873f59fe2
+ md5 479ebc79d1e8189e16ab51b4d8981529 \
+ sha1 1573cf8a7fc5435a439975ad492e710344cfc874 \
+ rmd160 372f872be5c7ba534994a924d64e664873f59fe2
-distname ${name}_${version}
+distname ${name}_${version}
+worksrcdir ${name}-${version}
-worksrcdir ${name}-${version}
+depends_lib \
+ port:gettext
-depends_lib port:gettext
-use_configure no
+use_configure no
-post-configure {
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/config.h
- reinplace "s|\$(BASEDIR)/usr|${destroot}${prefix}|g" \
- ${worksrcpath}/po/Makefile
- reinplace "s|/etc/whois.conf|${prefix}/etc/whois.conf|g" \
- ${worksrcpath}/whois.1
+post-configure {
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
+ reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/config.h
+ reinplace "s|\$(BASEDIR)/usr|${destroot}${prefix}|g" \
+ ${worksrcpath}/po/Makefile
+ reinplace "s|/etc/whois.conf|${prefix}/etc/whois.conf|g" \
+ ${worksrcpath}/whois.1
}
build.env \
- CFLAGS="-DENABLE_NLS -I${prefix}/include" \
- LDFLAGS="-L${prefix}/lib -lintl"
+ CFLAGS="-DENABLE_NLS -I${prefix}/include" \
+ LDFLAGS="-L${prefix}/lib -lintl"
-destroot.args prefix=${destroot}${prefix}
+destroot.args prefix=${destroot}${prefix}
-livecheck.check regex
-livecheck.url "${master_sites}?M=D"
-livecheck.regex "${name}_(.+?)${extract.suffix}"
+livecheck.check regex
+livecheck.url "${master_sites}?M=D"
+livecheck.regex "${name}_(.+?)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071212/eda03bb1/attachment.html
More information about the macports-changes
mailing list