Changeset 39642
- Timestamp:
- 08/27/08 13:22:32 (3 months ago)
- Location:
- trunk/dports/graphics
- Files:
-
- 2 added
- 1 removed
- 2 modified
- 1 copied
-
cairo-devel (copied) (copied from trunk/dports/graphics/cairo) (1 prop)
-
cairo-devel/Portfile (modified) (5 diffs)
-
cairo/files (deleted)
-
dcraw/Portfile (modified) (2 diffs)
-
dcraw/files (added)
-
dcraw/files/Makefile.in (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/cairo-devel
-
trunk/dports/graphics/cairo-devel/Portfile
r39634 r39642 3 3 PortSystem 1.0 4 4 5 name cairo 5 name cairo-devel 6 6 set my_name cairo 7 version 1.6.4 8 revision 1 7 version 1.7.4 9 8 categories graphics 10 9 maintainers ryandesign 11 10 homepage http://cairographics.org/ 12 master_sites ${homepage} releases/11 master_sites ${homepage}snapshots/ 13 12 platforms darwin macosx 14 13 use_parallel_build yes … … 25 24 26 25 checksums \ 27 md5 a198d509f9e3a35b78de8bb02174ebb9\28 sha1 9d990fe39a125ceb07221623c237cd7015855d5c\29 rmd160 ccae736a40d985b72bda7c2f0a98a0838020658e26 md5 7583b6ff663a708fbfe1501c74d8fd77 \ 27 sha1 c2b139a11336bf1c7a3423baff12ba949269a36b \ 28 rmd160 bb15dffa4429081d630736197a94fd1c53c9492d 30 29 31 30 depends_build \ … … 33 32 34 33 depends_lib \ 35 path:${prefix}/lib/pkgconfig/pixman-1.pc:libpixman \34 path:${prefix}/lib/pkgconfig/pixman-1.pc:libpixman-devel \ 36 35 port:xrender \ 37 36 port:fontconfig \ … … 42 41 port:expat 43 42 44 patchfiles \ 45 patch-FcFini.diff 43 pre-configure { 44 set pixman_minimum_version 0.11.2 45 set pixman_installed_version [exec pkg-config pixman-1 --modversion] 46 if {[rpm-vercomp ${pixman_installed_version} ${pixman_minimum_version}] < 0} { 47 return -code error "cairo ${version} requires pixman ${pixman_minimum_version} or later but you have pixman ${pixman_installed_version}. Please deactivate libpixman and install libpixman-devel, then try again." 48 } 49 } 46 50 47 51 # The +universal variant is written in such a way that the port's global … … 179 183 livecheck.check regex 180 184 livecheck.url ${homepage}news/ 181 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[ 02468\]\\.\[0-9\]+)185 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\]\\.\[0-9\]+) -
trunk/dports/graphics/dcraw/Portfile
r39641 r39642 13 13 worksrcdir $name 14 14 dist_subdir ${name}/${version}-${distfile_date} 15 use_configure no16 15 use_parallel_build yes 17 16 … … 33 32 port:lcms 34 33 35 variant universal {} 36 37 build { 38 if {[variant_isset universal]} { 39 system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} ${configure.universal_cflags} dcraw.c -ljpeg -llcms -lintl -liconv ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\"" 40 } else { 41 system "cd ${worksrcpath} && cc -o dcraw ${configure.cflags} dcraw.c -ljpeg -llcms -lintl -liconv ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\"" 42 } 34 configure { 35 xinstall -W ${filespath} Makefile.in ${worksrcpath}/Makefile 36 reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Makefile 37 reinplace "s|@CFLAGS@|${configure.cflags}|g" ${worksrcpath}/Makefile 38 reinplace "s|@CPPFLAGS@|${configure.cppflags}|g" ${worksrcpath}/Makefile 39 reinplace "s|@LDFLAGS@|${configure.ldflags}|g" ${worksrcpath}/Makefile 43 40 } 44 41

