[122697] trunk/dports/devel/bugzilla/Portfile
mojca at macports.org
mojca at macports.org
Sat Jul 26 23:06:35 PDT 2014
Revision: 122697
https://trac.macports.org/changeset/122697
Author: mojca at macports.org
Date: 2014-07-26 23:06:35 -0700 (Sat, 26 Jul 2014)
Log Message:
-----------
bugzilla: whitespace, add first line, sha256
Modified Paths:
--------------
trunk/dports/devel/bugzilla/Portfile
Modified: trunk/dports/devel/bugzilla/Portfile
===================================================================
--- trunk/dports/devel/bugzilla/Portfile 2014-07-27 05:58:43 UTC (rev 122696)
+++ trunk/dports/devel/bugzilla/Portfile 2014-07-27 06:06:35 UTC (rev 122697)
@@ -1,132 +1,132 @@
+# -*- 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
+PortSystem 1.0
-name bugzilla
-version 2.22.3
-revision 3
-categories devel www databases
-maintainers nomaintainer
-platforms darwin
-description popular and extensive bug-tracking system
-long_description Bugzilla is a Defect Tracking System or \
- Bug-Tracking System. Defect Tracking Systems allow \
- individual or groups of developers to keep track of \
- outstanding bugs in their product effectively. Most \
- commercial defect-tracking software vendors charge \
- enormous licensing fees. Despite being free, \
- Bugzilla has many features its expensive \
- counterparts lack. Consequently, Bugzilla has \
- quickly become a favorite of hundreds of \
- organizations across the globe.
+name bugzilla
+version 2.22.3
+revision 3
+categories devel www databases
+maintainers nomaintainer
+platforms darwin
+description popular and extensive bug-tracking system
+long_description Bugzilla is a Defect Tracking System or \
+ Bug-Tracking System. Defect Tracking Systems allow \
+ individual or groups of developers to keep track of \
+ outstanding bugs in their product effectively. Most \
+ commercial defect-tracking software vendors charge \
+ enormous licensing fees. Despite being free, \
+ Bugzilla has many features its expensive \
+ counterparts lack. Consequently, Bugzilla has \
+ quickly become a favorite of hundreds of \
+ organizations across the globe.
-homepage http://www.bugzilla.org/
-master_sites http://ftp.mozilla.org/pub/mozilla.org/webtools/ \
- ftp://ftp.mozilla.org/pub/mozilla.org/webtools/
+homepage http://www.bugzilla.org/
+master_sites http://ftp.mozilla.org/pub/mozilla.org/webtools/ \
+ ftp://ftp.mozilla.org/pub/mozilla.org/webtools/
-checksums md5 871044e9ef0b5ea523408b66dbe4c5ae \
- sha1 461d1a754cdc4a9e26fc6936c48fbd7cf71fab14 \
- rmd160 787f84e343297b1a8caee8310354e01f7c8cc2f8
+checksums rmd160 787f84e343297b1a8caee8310354e01f7c8cc2f8 \
+ sha256 17fe0de4921d31fe7c8ec4d92658f4f7025ffaed9942575892220922851e13ef
-depends_lib port:apache2 \
- port:perl5.12 \
- port:p5.12-appconfig \
- port:p5.12-timedate \
- port:p5.12-dbi \
- port:p5.12-dbd-mysql \
- port:p5.12-xml-parser \
- port:p5.12-patchreader \
- port:p5.12-gd \
- port:p5.12-gdtextutil \
- port:p5.12-gdgraph \
- port:p5.12-chart \
- port:p5.12-template-toolkit \
- port:p5.12-mime-tools \
- port:patchutils \
- port:p5.12-perl-ldap \
- port:p5.12-xml-twig
+depends_lib port:apache2 \
+ port:perl5.12 \
+ port:p5.12-appconfig \
+ port:p5.12-timedate \
+ port:p5.12-dbi \
+ port:p5.12-dbd-mysql \
+ port:p5.12-xml-parser \
+ port:p5.12-patchreader \
+ port:p5.12-gd \
+ port:p5.12-gdtextutil \
+ port:p5.12-gdgraph \
+ port:p5.12-chart \
+ port:p5.12-template-toolkit \
+ port:p5.12-mime-tools \
+ port:patchutils \
+ port:p5.12-perl-ldap \
+ port:p5.12-xml-twig
variant mysql4 conflicts mysql5 description "Use mysql4 database" {
- depends_lib-append port:mysql4
+ depends_lib-append port:mysql4
}
variant mysql5 conflicts mysql4 description "Use mysql5 database" {
- depends_lib-append path:bin/mysql_config5:mysql5
+ depends_lib-append path:bin/mysql_config5:mysql5
}
if {![variant_isset mysql4]} {
- default_variants +mysql5
+ default_variants +mysql5
}
-patchfiles patch-checksetup.pl
+patchfiles patch-checksetup.pl
post-patch {
- foreach item [exec find ${worksrcpath} -type f -name .cvsignore] {
- file delete -force ${item}
- }
- foreach item [exec find ${worksrcpath} -type d -name CVS] {
- file delete -force ${item}
- }
- foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
- ${worksrcpath}/contrib/*.pl ${worksrcpath}/docs/*.pl] {
- reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
- }
- foreach item [glob ${worksrcpath}/*.pl ${worksrcpath}/contrib/*.pl \
- ${worksrcpath}/Bugzilla/*.pm ${worksrcpath}/docs/html/*.html \
- ${worksrcpath}/docs/txt/*.txt ${worksrcpath}/docs/xml/*.xml] {
- reinplace -locale C "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
- }
+ foreach item [exec find ${worksrcpath} -type f -name .cvsignore] {
+ file delete -force ${item}
+ }
+ foreach item [exec find ${worksrcpath} -type d -name CVS] {
+ file delete -force ${item}
+ }
+ foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
+ ${worksrcpath}/contrib/*.pl ${worksrcpath}/docs/*.pl] {
+ reinplace -locale C "s%^#!.*perl%#!${prefix}/bin/perl5.12%" ${item}
+ }
+ foreach item [glob ${worksrcpath}/*.pl ${worksrcpath}/contrib/*.pl \
+ ${worksrcpath}/Bugzilla/*.pm ${worksrcpath}/docs/html/*.html \
+ ${worksrcpath}/docs/txt/*.txt ${worksrcpath}/docs/xml/*.xml] {
+ reinplace -locale C "s%/usr/lib/sendmail%/usr/sbin/sendmail%g" ${item}
+ }
}
-configure.cmd ./checksetup.pl
-configure.pre_args --check-modules
+configure.cmd ./checksetup.pl
+configure.pre_args --check-modules
-build.cmd ./checksetup.pl
+build.cmd ./checksetup.pl
build.target
destroot {
- # Warn user if not running as root
- if {[geteuid] != 0} {
- ui_msg "-----------------------------------------------------------"
- ui_msg "Note that you are not running as root, so files installed"
- ui_msg "by this port will not end up with proper ownership and"
- ui_msg "likely not work correctly with Apache."
- ui_msg "-----------------------------------------------------------"
- }
+ # Warn user if not running as root
+ if {[geteuid] != 0} {
+ ui_msg "-----------------------------------------------------------"
+ ui_msg "Note that you are not running as root, so files installed"
+ ui_msg "by this port will not end up with proper ownership and"
+ ui_msg "likely not work correctly with Apache."
+ ui_msg "-----------------------------------------------------------"
+ }
- set wwwRoot "${prefix}/www"
- xinstall -d -m 0755 ${destroot}${wwwRoot}
- ui_info "copying ${worksrcpath}\n to ${destroot}${wwwRoot}/${name}"
- system "cp -R ${worksrcpath}/. ${destroot}${wwwRoot}/${name}"
- # Fix owner and group on installed data
- if {[geteuid] == 0} {
- foreach item [exec find ${destroot}${wwwRoot}/${name} -type f] {
- file attributes ${item} -permissions go+r -owner www -group www
- }
- foreach item [exec find ${destroot}${wwwRoot}/${name} -type d] {
- file attributes ${item} -permissions go+rx -owner www -group www
- }
- } else {
- foreach item [exec find ${destroot}${wwwRoot}/${name} -type f] {
- file attributes ${item} -permissions go+r
- }
- foreach item [exec find ${destroot}${wwwRoot}/${name} -type d] {
- file attributes ${item} -permissions go+rx
- }
- }
+ set wwwRoot "${prefix}/www"
+ xinstall -d -m 0755 ${destroot}${wwwRoot}
+ ui_info "copying ${worksrcpath}\n to ${destroot}${wwwRoot}/${name}"
+ system "cp -R ${worksrcpath}/. ${destroot}${wwwRoot}/${name}"
+ # Fix owner and group on installed data
+ if {[geteuid] == 0} {
+ foreach item [exec find ${destroot}${wwwRoot}/${name} -type f] {
+ file attributes ${item} -permissions go+r -owner www -group www
+ }
+ foreach item [exec find ${destroot}${wwwRoot}/${name} -type d] {
+ file attributes ${item} -permissions go+rx -owner www -group www
+ }
+ } else {
+ foreach item [exec find ${destroot}${wwwRoot}/${name} -type f] {
+ file attributes ${item} -permissions go+r
+ }
+ foreach item [exec find ${destroot}${wwwRoot}/${name} -type d] {
+ file attributes ${item} -permissions go+rx
+ }
+ }
- set docPath "${prefix}/share/doc/${name}"
- xinstall -d -m 0755 ${destroot}${docPath}
- xinstall -m 0644 \
- ${worksrcpath}/README ${worksrcpath}/QUICKSTART \
- ${worksrcpath}/UPGRADING \
- ${worksrcpath}/UPGRADING-pre-2.8 \
- ${destroot}${docPath}/
- ui_info "copying docs\n to ${destroot}${docPath}/guide"
- system "cp -R ${worksrcpath}/docs ${destroot}${docPath}/guide"
- foreach item [exec find ${destroot}${docPath}/guide -type f] {
- file attributes ${item} -permissions go+r
- }
- foreach item [exec find ${destroot}${docPath}/guide -type d] {
- file attributes ${item} -permissions go+rx
- }
+ set docPath "${prefix}/share/doc/${name}"
+ xinstall -d -m 0755 ${destroot}${docPath}
+ xinstall -m 0644 \
+ ${worksrcpath}/README ${worksrcpath}/QUICKSTART \
+ ${worksrcpath}/UPGRADING \
+ ${worksrcpath}/UPGRADING-pre-2.8 \
+ ${destroot}${docPath}/
+ ui_info "copying docs\n to ${destroot}${docPath}/guide"
+ system "cp -R ${worksrcpath}/docs ${destroot}${docPath}/guide"
+ foreach item [exec find ${destroot}${docPath}/guide -type f] {
+ file attributes ${item} -permissions go+r
+ }
+ foreach item [exec find ${destroot}${docPath}/guide -type d] {
+ file attributes ${item} -permissions go+rx
+ }
}
notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140726/090ec3b5/attachment-0001.html>
More information about the macports-changes
mailing list