[33438] trunk/dports/graphics/freeimage

ryandesign at macports.org ryandesign at macports.org
Sun Jan 27 03:21:15 PST 2008


Revision: 33438
          http://trac.macosforge.org/projects/macports/changeset/33438
Author:   ryandesign at macports.org
Date:     2008-01-27 03:21:12 -0800 (Sun, 27 Jan 2008)

Log Message:
-----------
freeimage:

 * update to 3.9.3
 * no longer uses a cvs checkout; uses a real distfile
 * patchfile no longer necessary
 * indicates that it builds as a universal binary
 * indicates that it's for macosx (freebsd would likely not use Makefile.osx...)
 * livecheck works
 * port lint complains less 

Closes #13203 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/graphics/freeimage/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/freeimage/files/

Modified: trunk/dports/graphics/freeimage/Portfile
===================================================================
--- trunk/dports/graphics/freeimage/Portfile	2008-01-27 11:08:49 UTC (rev 33437)
+++ trunk/dports/graphics/freeimage/Portfile	2008-01-27 11:21:12 UTC (rev 33438)
@@ -2,8 +2,9 @@
 # $Id$
 
 PortSystem 1.0
+
 name			freeimage
-version			3.9.2
+version			3.9.3
 categories		graphics
 maintainers		ryand-ruby at zenspider.com
 description		Library for FreeImage, a dependency-less graphics library
@@ -11,20 +12,28 @@
 			support most popular graphics image formats. Some \
 			highlights are: extremely simple in use, not limited to \
 			the local PC (unique FreeImageIO) and Plugin driven!
-platforms		darwin freebsd
+platforms		macosx
 homepage		http://freeimage.sourceforge.net/
 master_sites		sourceforge
-
-fetch.type		cvs
-cvs.root		:pserver:anonymous at freeimage.cvs.sourceforge.net:/cvsroot/freeimage
-cvs.module		FreeImage
-cvs.date		20070101
-version			${version}-${cvs.date}
+distname		FreeImage[strsed ${version} {g/\.//}]
+use_zip			yes
 worksrcdir		FreeImage
 
-patchfiles		patch-Makefile.osx.diff
+checksums		md5 bf3574fa4e6135cf511d5ff4bc871ec3 \
+			sha1 07696e54ed246d08cf401a9e39e9256b4e73ec9a \
+			rmd160 d7a33a6c9b101d39db16ee18f9177b3f590df6ab
 
 use_configure		no
 
 destroot.pre_args	-f Makefile.osx ${destroot.target}
 destroot.destdir	PREFIX=${destroot}${prefix}
+
+default_variants +universal
+variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}
+
+livecheck.regex		<title>Source Distribution (.*) released.*</title>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/b58d1498/attachment.html


More information about the macports-changes mailing list