Ticket #14780: Portfile.diff
File Portfile.diff, 1.2 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
Portfile
old new 20 20 21 21 checksums md5 a342b2b4495b3e1394e161eb5d85d754 \ 22 22 sha1 9c5735f773922e580bf98c7c7dfda9bbed4c5191 \ 23 23 rmd160 fb2c188abf5b8c297078ac1f913101734f72db5c 24 24 25 25 depends_lib port:jpeg 26 26 27 patchfiles patch-src_libjasper_base_jas_cm.c \27 patchfiles patch-src_libjasper_base_jas_cm.c.diff \ 28 28 patch-src_libjasper_jpc_jpc_dec.c.diff 29 29 30 30 configure.args --enable-shared \ … … 39 39 post-destroot { 40 40 xinstall -m 755 -d ${destroot}${prefix}/share/doc 41 41 file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} 42 system "chmod -R go-w ${destroot}${prefix}/share/doc/${name}" 42 43 } 43 44 44 45 variant jiv description {build a basic viewer as well} { … … 47 48 configure.args-append --enable-opengl 48 49 configure.cppflags-append "-I${x11prefix}/include" 49 50 } 51 52 platform darwin 9 { 53 if {[variant_isset jiv]} { 54 set glLib \ 55 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 56 configure.ldflags-append -Wl,-dylib_file,${glLib}:${glLib} 57 } 58 } 59 60 livecheck.check regex 61 livecheck.regex "JasPer version (.*) source distribution \\\(current version\\\)."