aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-11-07 08:33:32 +0800
committerwxs <wxs@FreeBSD.org>2008-11-07 08:33:32 +0800
commit24739739bd4a08e725e5bc43c24934ba101fc332 (patch)
tree0d2caabe634cd2dedc445bc43c1ea9f129658130 /biology
parente70c156280b4676148db9ce90d393f6dbf087527 (diff)
downloadfreebsd-ports-gnome-24739739bd4a08e725e5bc43c24934ba101fc332.tar.gz
freebsd-ports-gnome-24739739bd4a08e725e5bc43c24934ba101fc332.tar.zst
freebsd-ports-gnome-24739739bd4a08e725e5bc43c24934ba101fc332.zip
Distfile was re-rolled. The changes were to fix some bugs in the code.
While I'm here, make it respect NOPORTDOCS.
Diffstat (limited to 'biology')
-rw-r--r--biology/molden/Makefile10
-rw-r--r--biology/molden/distinfo6
-rw-r--r--biology/molden/pkg-plist7
3 files changed, 13 insertions, 10 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile
index 8f480a9a211e..14a33cc1e6ce 100644
--- a/biology/molden/Makefile
+++ b/biology/molden/Makefile
@@ -22,6 +22,10 @@ USE_FORTRAN= yes
RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable.
MAKEFILE= ${WRKSRC}/makefile
+.if !defined(NOPORTDOCS)
+PORTDOCS= docs/*
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c
@@ -38,12 +42,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/molden
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
${MKDIR} ${PREFIX}/share/molden/test
${MKDIR} ${PREFIX}/share/molden/utils
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/molden
${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/molden/test
${INSTALL_DATA} ${WRKSRC}/utils/* ${PREFIX}/share/molden/utils
-.endif
.include <bsd.port.mk>
diff --git a/biology/molden/distinfo b/biology/molden/distinfo
index a66df4280cde..9fbacbc7a84f 100644
--- a/biology/molden/distinfo
+++ b/biology/molden/distinfo
@@ -1,3 +1,3 @@
-MD5 (molden-4.7/molden4.7.tar.gz) = 94baf00d545224d328767bfacb8ec194
-SHA256 (molden-4.7/molden4.7.tar.gz) = a5f5eb207894c7cb2e437ad14bed6b52d3845cd78599c89be8de55692ae1cddf
-SIZE (molden-4.7/molden4.7.tar.gz) = 2813532
+MD5 (molden-4.7/molden4.7.tar.gz) = 27ed92f0e4a7e7ff02879f72f06e4af8
+SHA256 (molden-4.7/molden4.7.tar.gz) = d76facb939f912f493b480669f39474a2b848dbbd3d5515835ca0fbc57cdad37
+SIZE (molden-4.7/molden4.7.tar.gz) = 2817858
diff --git a/biology/molden/pkg-plist b/biology/molden/pkg-plist
index 16e660df4a88..169d1e39d52a 100644
--- a/biology/molden/pkg-plist
+++ b/biology/molden/pkg-plist
@@ -2,9 +2,9 @@ bin/ambfor
bin/gmolden
bin/molden
bin/surf
-share/doc/molden/figures.ps.Z
-share/doc/molden/manual.ps.Z
-share/doc/molden/manual.txt.Z
+%%PORTDOCS%%%%DOCSDIR%%/manual.txt.Z
+%%PORTDOCS%%%%DOCSDIR%%/manual.ps.Z
+%%PORTDOCS%%%%DOCSDIR%%/figures.ps.Z
share/molden/test/adf.molf
share/molden/test/ambfor_amber.xyz
share/molden/test/ambfor_gaff.xyz
@@ -58,4 +58,3 @@ share/molden/utils/multi_vrml_orbitals.csh
@dirrm share/molden/utils
@dirrm share/molden/test
@dirrm share/molden
-@dirrm share/doc/molden