[84475] trunk/dports/science/gvemodules-xforms/Portfile

raphael at macports.org raphael at macports.org
Mon Sep 26 08:42:52 PDT 2011


Revision: 84475
          http://trac.macports.org/changeset/84475
Author:   raphael at macports.org
Date:     2011-09-26 08:42:52 -0700 (Mon, 26 Sep 2011)
Log Message:
-----------
gvemodules-xforms:

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

Modified Paths:
--------------
    trunk/dports/science/gvemodules-xforms/Portfile

Modified: trunk/dports/science/gvemodules-xforms/Portfile
===================================================================
--- trunk/dports/science/gvemodules-xforms/Portfile	2011-09-26 15:41:12 UTC (rev 84474)
+++ trunk/dports/science/gvemodules-xforms/Portfile	2011-09-26 15:42:52 UTC (rev 84475)
@@ -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                        gvemodules-xforms
 version                     0.2
+revision                    1
 categories                  science graphics x11
-maintainers                 raphael
+maintainers                 raphael openmaintainer
 description                 XForms based emodules of the original Geomview \
                             distribution
 long_description            This package contains XForms based emodules of \
@@ -16,14 +18,16 @@
                             a tool-kit for displaying projections of higher \
                             dimensional objects.
 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 0db75b1c7a4700014ba27eed60fe2e26 \
-                            sha1 4f73251548d42801a29a13444ae5c4bc54dfeb71 \
-                            rmd160 b5f53ed3bee35f8727309b15723d66f0b0dc07d3
+
+checksums                   rmd160  b5f53ed3bee35f8727309b15723d66f0b0dc07d3 \
+                            sha256  9fe5462c6868007d76f82774e6d3ce3d18789bb83687794665a4fe78607887d3
+
 depends_lib                 port:geomview \
                             port:xforms
 
@@ -31,3 +35,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/19582817/attachment.html>


More information about the macports-changes mailing list