[36031] trunk/dports/devel/bugzilla/Portfile

wsiegrist at apple.com wsiegrist at apple.com
Mon Apr 14 22:43:04 PDT 2008


Revision: 36031
          http://trac.macosforge.org/projects/macports/changeset/36031
Author:   wsiegrist at apple.com
Date:     2008-04-14 22:43:02 -0700 (Mon, 14 Apr 2008)

Log Message:
-----------
* Minor version bump
* Added a newline under RCS tag for lint
* Added mysql5 variant to use v5 instead of v4
* Removed p5-perlmagick dependency as its optional and the port may be deprecated
* Fixed use of cd command

Modified Paths:
--------------
    trunk/dports/devel/bugzilla/Portfile

Modified: trunk/dports/devel/bugzilla/Portfile
===================================================================
--- trunk/dports/devel/bugzilla/Portfile	2008-04-15 01:37:00 UTC (rev 36030)
+++ trunk/dports/devel/bugzilla/Portfile	2008-04-15 05:43:02 UTC (rev 36031)
@@ -1,10 +1,12 @@
 # $Id$
+
 PortSystem		1.0
 
 name			bugzilla
-version			2.22.1
+version			2.22.3
 categories		devel www databases
 maintainers		wms
+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 \
@@ -19,7 +21,9 @@
 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 d52e2818441f3c2a5caeddf6c40b9f00
+checksums           md5     871044e9ef0b5ea523408b66dbe4c5ae \
+                    sha1    461d1a754cdc4a9e26fc6936c48fbd7cf71fab14 \
+                    rmd160  787f84e343297b1a8caee8310354e01f7c8cc2f8
 
 depends_lib		port:apache2 \
 				port:mysql4 \
@@ -40,12 +44,16 @@
                 port:p5-cgi \
                 port:p5-perl-ldap \
                 port:p5-patchreader \
-                port:p5-xml-twig \
-                port:p5-perlmagick
+                port:p5-xml-twig
 
+variant mysql5 description "Use mysql5 instead of mysql4" {
+                        depends_lib-delete   port:mysql4
+                        depends_lib-append   port:mysql5
+}
+
 patchfiles		patch-checksetup.pl
 post-patch {
-	cd ${worksrcpath}
+	system "cd ${worksrcpath}"
 	foreach item [exec find . -type f -name .cvsignore] {
 		file delete -force ${item}
 	}
@@ -99,7 +107,7 @@
 
 	set docPath "${prefix}/share/doc/${name}"
 	xinstall -d -m 0755 ${destroot}${docPath}
-	cd ${worksrcpath}
+	system "cd ${worksrcpath}"
 	xinstall -m 0644 \
 		README QUICKSTART UPGRADING UPGRADING-pre-2.8 \
 		${destroot}${docPath}/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080414/3906acd6/attachment-0001.html


More information about the macports-changes mailing list