[100093] trunk/dports/irc/bahamut/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Nov 27 16:16:04 PST 2012
Revision: 100093
https://trac.macports.org/changeset/100093
Author: ryandesign at macports.org
Date: 2012-11-27 16:16:03 -0800 (Tue, 27 Nov 2012)
Log Message:
-----------
bahamut: whitespace changes / reformatting / add modeline
Modified Paths:
--------------
trunk/dports/irc/bahamut/Portfile
Modified: trunk/dports/irc/bahamut/Portfile
===================================================================
--- trunk/dports/irc/bahamut/Portfile 2012-11-27 23:40:37 UTC (rev 100092)
+++ trunk/dports/irc/bahamut/Portfile 2012-11-28 00:16:03 UTC (rev 100093)
@@ -1,55 +1,63 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name bahamut
-conflicts whois
-version 1.8.9
-description Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet.
-long_description ${description}
-maintainers nomaintainer
-categories irc
-platforms darwin
-homepage http://bahamut.dal.net/
-distname ${name}-${version}-release
-master_sites ${homepage}/download ftp://ftp.dal.net/dalnet/server/bahamut/
-checksums md5 e1a2b6ffab3c7a88bdd0a3561da4e5ee \
- sha1 64b783ed04983bb1f5ea2b75b3a479888413fb3e \
- rmd160 35b61b35aac8240b984c2a91ac16dcc47fb1a29b
+PortSystem 1.0
-patchfiles patch-support.c
+name bahamut
+conflicts whois
+version 1.8.9
+maintainers nomaintainer
+categories irc
+platforms darwin
-depends_lib port:openssl
-#depends_lib lib:libsoup-2:libsoup port:evolution-data-server
+description Bahamut is an Internet Relay Chat Daemon (IRCd) designed for DALnet.
-worksrcdir ${name}-${version}
+long_description ${description}
-configure.args --enable-openssl=${prefix}
+homepage http://bahamut.dal.net/
+master_sites ${homepage}download \
+ ftp://ftp.dal.net/dalnet/server/bahamut/
-universal_variant no
+distname ${name}-${version}-release
+checksums md5 e1a2b6ffab3c7a88bdd0a3561da4e5ee \
+ sha1 64b783ed04983bb1f5ea2b75b3a479888413fb3e \
+ rmd160 35b61b35aac8240b984c2a91ac16dcc47fb1a29b
+
+depends_lib port:openssl
+#depends_lib lib:libsoup-2:libsoup port:evolution-data-server
+
+worksrcdir ${name}-${version}
+
+patchfiles patch-support.c
+
+universal_variant no
+
+configure.args --enable-openssl=${prefix}
+
pre-build {
- reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
- ${worksrcpath}/Makefile
- reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
- ${worksrcpath}/src/Makefile
- reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
- ${worksrcpath}/tools/Makefile
- reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
- ${worksrcpath}/doc/Makefile
+ reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
+ ${worksrcpath}/Makefile
+ reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
+ ${worksrcpath}/src/Makefile
+ reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
+ ${worksrcpath}/tools/Makefile
+ reinplace "s|INSTALL_DIR=${prefix}|INSTALL_DIR=${destroot}${prefix}|g" \
+ ${worksrcpath}/doc/Makefile
}
post-destroot {
- file rename ${destroot}${prefix}/convert_conf ${destroot}${prefix}/bin/
- file rename ${destroot}${prefix}/mkpasswd ${destroot}${prefix}/bin/
- file rename ${destroot}${prefix}/ircd ${destroot}${prefix}/bin/
- file rename ${destroot}${prefix}/ircd.motd ${destroot}${prefix}/etc/
- file rename ${destroot}${prefix}/opers.txt ${destroot}${prefix}/etc/
- file rename ${destroot}${prefix}/template.conf ${destroot}${prefix}/etc/
- file rename ${destroot}${prefix}/reference.conf ${destroot}${prefix}/etc/
- file rename ${destroot}${prefix}/make-cert.cnf ${destroot}${prefix}/etc/
- file rename ${destroot}${prefix}/make-cert.sh ${destroot}${prefix}/bin/
- reinplace "s|${destroot}${prefix}|${prefix}/etc|g" ${destroot}${prefix}/bin/make-cert.sh
-}
+ file rename ${destroot}${prefix}/convert_conf ${destroot}${prefix}/bin/
+ file rename ${destroot}${prefix}/mkpasswd ${destroot}${prefix}/bin/
+ file rename ${destroot}${prefix}/ircd ${destroot}${prefix}/bin/
+ file rename ${destroot}${prefix}/ircd.motd ${destroot}${prefix}/etc/
+ file rename ${destroot}${prefix}/opers.txt ${destroot}${prefix}/etc/
+ file rename ${destroot}${prefix}/template.conf ${destroot}${prefix}/etc/
+ file rename ${destroot}${prefix}/reference.conf ${destroot}${prefix}/etc/
+ file rename ${destroot}${prefix}/make-cert.cnf ${destroot}${prefix}/etc/
+ file rename ${destroot}${prefix}/make-cert.sh ${destroot}${prefix}/bin/
+ reinplace "s|${destroot}${prefix}|${prefix}/etc|g" ${destroot}${prefix}/bin/make-cert.sh
+}
-livecheck.type regex
-livecheck.regex ${name}-(\[0-9.\]+)-release\\.tar
+livecheck.type regex
+livecheck.regex ${name}-(\[0-9.\]+)-release\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121127/3aec6cd6/attachment.html>
More information about the macports-changes
mailing list