[84474] trunk/dports/science/gvemod-xforms-example/Portfile

raphael at macports.org raphael at macports.org
Mon Sep 26 08:41:12 PDT 2011


Revision: 84474
          http://trac.macports.org/changeset/84474
Author:   raphael at macports.org
Date:     2011-09-26 08:41:12 -0700 (Mon, 26 Sep 2011)
Log Message:
-----------
gvemod-xforms-example:

 * add modeline
 * make openmaintainer
 * add license
 * use rmd160 and sha256 checksums
 * install additional documentation files

Modified Paths:
--------------
    trunk/dports/science/gvemod-xforms-example/Portfile

Modified: trunk/dports/science/gvemod-xforms-example/Portfile
===================================================================
--- trunk/dports/science/gvemod-xforms-example/Portfile	2011-09-26 15:39:24 UTC (rev 84473)
+++ trunk/dports/science/gvemod-xforms-example/Portfile	2011-09-26 15:41:12 UTC (rev 84474)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem                  1.0
@@ -4,8 +5,9 @@
 
 name                        gvemod-xforms-example
 version                     0.2
+revision                    1
 categories                  science graphics x11
-maintainers                 raphael
+maintainers                 raphael openmaintainer
 description                 The example emodule defined in the Geomview \
                             manual
 long_description            This is the example emodule defined in the \
@@ -13,14 +15,16 @@
                             which extend the functionality of Geomview \
                             (an interactive 3d viewing program).
 homepage                    http://www.geomview.org/
+license                     LGPL-2+
 platforms                   darwin
 master_sites                sourceforge
 master_sites.mirror_subdir  geomview
 livecheck.name              geomview
 livecheck.distname          ${name}
-checksums                   md5 c054f1f6504f3ec093ba47c55cd1c881 \
-                            sha1 90f70c627c3b976b1f18e1a928f7d3d7c0aefc30 \
-                            rmd160 607fc3f476716aae29ab357b0194e7056a57ae4a
+
+checksums                   rmd160  607fc3f476716aae29ab357b0194e7056a57ae4a \
+                            sha256  d0de14dd9a88bc7c4aff1dc6cf3be92b96dee22acd99ccf35f0835b834e129cd
+
 depends_lib                 port:geomview \
                             port:xforms
 
@@ -28,3 +32,15 @@
     -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
         /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
 }
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        COPYING \
+        ChangeLog \
+        NEWS \
+        README \
+        ${docdir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110926/d8ee5697/attachment.html>


More information about the macports-changes mailing list