[61897] trunk/dports/net/whois/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Dec 23 02:45:08 PST 2009
Revision: 61897
http://trac.macports.org/changeset/61897
Author: ryandesign at macports.org
Date: 2009-12-23 02:45:07 -0800 (Wed, 23 Dec 2009)
Log Message:
-----------
whois: whitespace changes only
Modified Paths:
--------------
trunk/dports/net/whois/Portfile
Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile 2009-12-23 10:41:52 UTC (rev 61896)
+++ trunk/dports/net/whois/Portfile 2009-12-23 10:45:07 UTC (rev 61897)
@@ -8,62 +8,51 @@
# report upstream. See http://trac.macports.org/ticket/16037 #
################################################################
-PortSystem 1.0
-PortGroup archcheck 1.0
+PortSystem 1.0
+PortGroup archcheck 1.0
-name whois
-version 5.0.0
-categories net
-maintainers ryandesign
-homepage http://www.linux.it/~md/software/
-platforms darwin
-use_parallel_build yes
+name whois
+version 5.0.0
+categories net
+maintainers ryandesign
+homepage http://www.linux.it/~md/software/
+platforms darwin
+use_parallel_build yes
-description \
- A replacement whois client
+description A replacement whois client
-long_description \
- whois is an improved whois client that follow the \
- delegations from the Verisign whois server.
+long_description 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 18d74a07d711262b75f04a1c319bc833 \
- sha1 401ce556e0c7735edaf93a303b7d46de58319a75 \
- rmd160 89336459bcd7fa7498237b2e04e68353aa756e3d
+checksums md5 18d74a07d711262b75f04a1c319bc833 \
+ sha1 401ce556e0c7735edaf93a303b7d46de58319a75 \
+ rmd160 89336459bcd7fa7498237b2e04e68353aa756e3d
-distname ${name}_${version}
-worksrcdir ${name}-${version}
+distname ${name}_${version}
+worksrcdir ${name}-${version}
-depends_lib \
- port:gettext
-archcheck.files lib/libintl.dylib
+depends_lib port:gettext
+archcheck.files lib/libintl.dylib
# Bugs should be reported to MacPorts, not upstream.
-patchfiles-append patch-bugreport.diff
+patchfiles-append patch-bugreport.diff
platform darwin {
# -lcrypt cannot be used (and is unnecessary) on Mac OS X
- patchfiles-append \
- patch-lcrypt.diff
+ patchfiles-append patch-lcrypt.diff
+
# Allow long options to work.
- patchfiles-append patch-getopt.diff
+ patchfiles-append patch-getopt.diff
}
-configure.cmd make
-configure.pre_args depend
+configure.cmd make
+configure.pre_args depend
+configure.cflags-append -DENABLE_NLS
+configure.ldflags-append -lintl
+configure.universal_args-delete --disable-dependency-tracking
-configure.cflags-append \
- -DENABLE_NLS
-
-configure.ldflags-append \
- -lintl
-
-configure.universal_args-delete \
- --disable-dependency-tracking
-
post-configure {
reinplace "s|/etc/whois.conf|${prefix}/etc/whois.conf|g" \
${worksrcpath}/whois.1
@@ -72,22 +61,22 @@
set my_includes {}
set my_libs {}
-build.target-append pos
-build.env \
- CC=${configure.cc} \
- CONFIG_FILE=${prefix}/etc/whois.conf \
- LOCALEDIR=${prefix}/share/locale
+build.target-append pos
+build.env CC=${configure.cc} \
+ CONFIG_FILE=${prefix}/etc/whois.conf \
+ LOCALEDIR=${prefix}/share/locale
+
pre-build {
eval lappend my_includes ${configure.cflags} ${configure.cppflags}
eval lappend my_libs ${configure.ldflags}
- build.args \
- prefix=${prefix} \
- INCLUDES="${my_includes}" \
- LIBS="${my_libs}"
+ build.args prefix=${prefix} \
+ INCLUDES="${my_includes}" \
+ LIBS="${my_libs}"
}
-destroot.target-append install-pos
-destroot.args prefix=${destroot}${prefix}
+destroot.target-append install-pos
+destroot.args prefix=${destroot}${prefix}
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} whois.conf ${destroot}${prefix}/etc/whois.conf.sample
}
@@ -105,6 +94,6 @@
eval lappend my_libs ${configure.universal_ldflags}
}
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]?C=M&O=D
-livecheck.regex "${name}_(.+?)${extract.suffix}"
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]?C=M&O=D
+livecheck.regex "${name}_(.+?)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091223/057e7ca4/attachment.html>
More information about the macports-changes
mailing list