[36729] trunk/dports/graphics/jasper/Portfile

nox at macports.org nox at macports.org
Tue May 13 04:51:33 PDT 2008


Revision: 36729
          http://trac.macosforge.org/projects/macports/changeset/36729
Author:   nox at macports.org
Date:     2008-05-13 04:51:33 -0700 (Tue, 13 May 2008)

Log Message:
-----------
jasper:
 * docdir now has a versioned name.
 * Use file attributes instead of chmod.
 * Enabled parallel build.
 * Fixed jiv variant dependencies.

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

Modified: trunk/dports/graphics/jasper/Portfile
===================================================================
--- trunk/dports/graphics/jasper/Portfile	2008-05-13 11:47:16 UTC (rev 36728)
+++ trunk/dports/graphics/jasper/Portfile	2008-05-13 11:51:33 UTC (rev 36729)
@@ -4,6 +4,7 @@
 
 name            jasper
 version         1.900.1
+revision        1
 categories      graphics
 platforms       darwin
 maintainers     nomaintainer
@@ -33,17 +34,21 @@
                 --mandir=\\\${prefix}/share/man \
                 --infodir=\\\${prefix}/share/info
 
+use_parallel_build  yes
+
 test.run        yes
 test.target     check
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc
-    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
-    system "chmod -R go-w ${destroot}${prefix}/share/doc/${name}"
+    copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}-${version}
+    file attributes ${destroot}${prefix}/share/doc/${name} -permissions go-w
 }
 
 variant jiv description {build a basic viewer as well} {
-    depends_lib                 port:glut
+    depends_lib-append          port:glut \
+                                lib:libX11.6:xorg
+
     configure.args-delete       --disable-opengl
     configure.args-append       --enable-opengl
     configure.cppflags-append   "-I${x11prefix}/include"

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


More information about the macports-changes mailing list