Modified: trunk/dports/science/gplcver/Portfile (79838 => 79839)
--- trunk/dports/science/gplcver/Portfile 2011-06-27 22:26:37 UTC (rev 79838)
+++ trunk/dports/science/gplcver/Portfile 2011-06-27 22:44:06 UTC (rev 79839)
@@ -45,19 +45,15 @@
# create directory for everything else
- set docdir "${destroot}${prefix}/share/doc/${name}"
+ set docdir "${destroot}${prefix}/share/doc/"
xinstall -m 755 -d ${docdir}
-
- # copy doc files
-
- file copy ${worksrcpath}/COPYING ${docdir}
- file copy ${worksrcpath}/Changelog ${docdir}
- file copy ${worksrcpath}/INSTALL ${docdir}
- file copy ${worksrcpath}/LICENSE ${docdir}
- file copy ${worksrcpath}/NEW.CVER.2001.RELEASE.NOTES ${docdir}
- file copy ${worksrcpath}/OUR_PHILOSOPHY ${docdir}
- file copy ${worksrcpath}/README ${docdir}
file copy ${worksrcpath}/doc ${docdir}
+ file rename ${docdir}/doc ${docdir}${name}
+ set docdir "${docdir}${name}"
+ xinstall -m 644 -W ${worksrcpath} \
+ COPYING Changelog LICENSE NEW.CVER.2001.RELEASE.NOTES OUR_PHILOSOPHY README \
+ ${docdir}
+ file copy ${worksrcpath}/doc/README ${docdir}/README_doc
# install the systasks man page
@@ -66,15 +62,15 @@
# create directory for everything else
- set instdir "${destroot}${prefix}/share/${name}"
- xinstall -m 755 -d ${instdir}
+ set exampledir "${destroot}${prefix}/share/examples/${name}"
+ xinstall -m 755 -d ${exampledir}
# copy files
- file copy ${worksrcpath}/pli_incs ${instdir}
- file copy ${worksrcpath}/pli_src ${instdir}
- file copy ${worksrcpath}/tests_and_examples ${instdir}
- file copy ${worksrcpath}/ver_src ${instdir}
+ file copy ${worksrcpath}/pli_incs ${exampledir}
+ file copy ${worksrcpath}/pli_src ${exampledir}
+ file copy ${worksrcpath}/tests_and_examples ${exampledir}
+ file copy ${worksrcpath}/ver_src ${exampledir}
}