aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-24 09:50:24 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-24 09:50:24 +0000
commitb235f9c920785a16b3006506ed3536a44a684ea6 (patch)
tree30cc33882341367ecc66dba248c42da706f3ee7a /science
parent3f0cc8b5f921b13eb5df7cca38a81d324f9764a5 (diff)
downloadports-b235f9c920785a16b3006506ed3536a44a684ea6.tar.gz
ports-b235f9c920785a16b3006506ed3536a44a684ea6.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/2dhf/Makefile63
-rw-r--r--science/2dhf/distinfo1
-rw-r--r--science/2dhf/files/patch-Makefile35
-rw-r--r--science/2dhf/files/patch-bin+xhf11
-rw-r--r--science/2dhf/files/patch-src+fmalloc.c14
-rw-r--r--science/2dhf/files/patch-src+getusedcpu.c33
-rw-r--r--science/2dhf/pkg-descr8
-rw-r--r--science/2dhf/pkg-plist330
-rw-r--r--science/Makefile1
9 files changed, 496 insertions, 0 deletions
diff --git a/science/2dhf/Makefile b/science/2dhf/Makefile
new file mode 100644
index 000000000000..bb16469d8997
--- /dev/null
+++ b/science/2dhf/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: 2dhf
+# Date created: 24 July 2003
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= 2dhf
+PORTVERSION= 2003.02
+CATEGORIES= science
+MASTER_SITES= http://staff.csc.fi/~laaksone/2d/admin/
+DISTNAME= ${PORTNAME}_02.03
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= A Numerical Hartree-Fock Program for Diatomic Molecules
+
+LIB_DEPENDS= lapack:${PORTSDIR}/math/lapack \
+ atlas:${PORTSDIR}/math/atlas
+
+.if defined(WITH_OPTIMIZED_FLAGS)
+FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
+.if (${MACHINE_ARCH} == "i386")
+FFLAGS+= -mfancy-math-387
+.endif # i386
+.endif
+
+pre-everything::
+ @${ECHO_CMD} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ @(cd ${WRKSRC} ; ${TAR} xfz ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%FC%%,${FC},g ; \
+ s,%%FFLAGS%%,${FFLAGS},g ; \
+ s,%%CC%%,${CC},g ; \
+ s,%%CFLAGS%%,${CFLAGS},g ; \
+ s,%%LOCALBASE%%,${LOCALBASE},g' \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${WRKSRC}/bin/xhf
+do-build:
+ @${MKDIR} ${WRKSRC}/obj ; cd ${WRKSRC} ; ${GMAKE}
+
+do-install:
+ @cd ${WRKSRC} ; ${INSTALL_PROGRAM} bin/x2dhf ${PREFIX}/bin/x2dhf
+ @cd ${WRKSRC} ; ${INSTALL_SCRIPT} bin/xhf ${PREFIX}/bin/xhf
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/doc ; ${INSTALL_DATA} 2dhf.pdf users_guide.pdf ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/users_guide
+ @cd ${WRKSRC}/doc/users_guide ; ${INSTALL_DATA} * ${DOCSDIR}/users_guide
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples/ ; ${TAR} -chf - . | \
+ ${TAR} -xf - -C ${EXAMPLESDIR}
+.endif
+.include <bsd.port.mk>
diff --git a/science/2dhf/distinfo b/science/2dhf/distinfo
new file mode 100644
index 000000000000..1c10e86370bd
--- /dev/null
+++ b/science/2dhf/distinfo
@@ -0,0 +1 @@
+MD5 (2dhf_02.03.tgz) = b288bd140c3cb2e40dc4425a3d1f7387
diff --git a/science/2dhf/files/patch-Makefile b/science/2dhf/files/patch-Makefile
new file mode 100644
index 000000000000..127e1a4c04d9
--- /dev/null
+++ b/science/2dhf/files/patch-Makefile
@@ -0,0 +1,35 @@
+--- Makefile.orig Sat Jan 18 08:19:53 2003
++++ Makefile Thu Jul 24 17:40:01 2003
+@@ -55,8 +55,9 @@
+
+ # set system type/compiler
+ # available keywords are: cray, dec, ibm, lahey, linux, sgi, solaris
++# and freebsd
+
+-SYSTEM = linux
++SYSTEM = freebsd
+
+ # if BLAS library is available set the BLAS variable to yes
+ BLAS = no
+@@ -145,6 +146,21 @@
+
+ CC = gcc
+ CFLAGS =
++endif
++
++# FreeBSD
++ifeq ($(SYSTEM),freebsd)
++ FC = %%FC%%
++ FFLAGS = %%FFLAGS%%
++# -fstrength-reduce -funroll-loops
++# FFLAGS = -O1 -malign-double
++# FFLAGS = -g -C
++ FFLAGS_ADD = -w -ffixed-line-length-none
++ FLIB = -L%%LOCALBASE%%/lib -lf77blas -latlas
++ BLAS = yes
++
++ CC = %%CC%%
++ CFLAGS = %%CFLAGS%%
+ endif
+
+ # SGI
diff --git a/science/2dhf/files/patch-bin+xhf b/science/2dhf/files/patch-bin+xhf
new file mode 100644
index 000000000000..1a83897b39c4
--- /dev/null
+++ b/science/2dhf/files/patch-bin+xhf
@@ -0,0 +1,11 @@
+--- bin/xhf.org Thu Jul 24 18:25:05 2003
++++ bin/xhf Thu Jul 24 18:26:38 2003
+@@ -99,7 +99,7 @@
+ endif
+ echo ' '
+ # envoke x2dhf program
+- nice +19 ./x2dhf < $1.data
++ nice +19 %%PREFIX%%/bin/x2dhf < $1.data
+ endif
+
+ if ( $1 != 'remove' ) then
diff --git a/science/2dhf/files/patch-src+fmalloc.c b/science/2dhf/files/patch-src+fmalloc.c
new file mode 100644
index 000000000000..a051ab093525
--- /dev/null
+++ b/science/2dhf/files/patch-src+fmalloc.c
@@ -0,0 +1,14 @@
+--- src/fmalloc.c.orig Thu Jul 24 17:32:52 2003
++++ src/fmalloc.c Thu Jul 24 17:33:22 2003
+@@ -15,7 +15,11 @@
+
+ #include <stdio.h>
+ #include <sys/types.h>
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+ /*
+ bv: is an integer to contain the address to the reserved
diff --git a/science/2dhf/files/patch-src+getusedcpu.c b/science/2dhf/files/patch-src+getusedcpu.c
new file mode 100644
index 000000000000..fabdbf41caf6
--- /dev/null
+++ b/science/2dhf/files/patch-src+getusedcpu.c
@@ -0,0 +1,33 @@
+--- src/getusedcpu.c.orig Sat Jan 4 21:21:37 2003
++++ src/getusedcpu.c Thu Jul 24 17:30:40 2003
+@@ -66,7 +66,9 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>
+-
++#ifdef __FreeBSD__
++#include <sys/unistd.h>
++#endif
+
+ #include <sys/types.h>
+ #include <sys/times.h>
+@@ -109,6 +111,9 @@
+ #elif defined(ymp)
+ start = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(CLK_TCK);
+ start_child = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(CLK_TCK);
++#elif defined(__FreeBSD__)
++ start = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(_SC_CLK_TCK);
++ start_child = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(_SC_CLK_TCK);
+ #else
+ start = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(HZ);
+ start_child = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(HZ);
+@@ -121,6 +126,9 @@
+ #elif defined(ymp)
+ *Msecs = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(CLK_TCK) - start;
+ *Csecs = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(CLK_TCK) - start_child;
++#elif defined(__FreeBSD__)
++ *Msecs = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(_SC_CLK_TCK) - start;
++ *Csecs = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(_SC_CLK_TCK) - start_child;
+ #else
+ *Msecs = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(HZ) - start;
+ *Csecs = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(HZ) - start_child;
diff --git a/science/2dhf/pkg-descr b/science/2dhf/pkg-descr
new file mode 100644
index 000000000000..90fc46d8cf5d
--- /dev/null
+++ b/science/2dhf/pkg-descr
@@ -0,0 +1,8 @@
+A Numerical Hartree-Fock Program for Diatomic Molecules
+
+The program finds virtually exact solution of the Hartree-Fock
+and Hartree-Fock-Slater equations for diatomic molecules. The
+lowest eigenstates of a given irreducible representation and
+spin can be obtained. Distributed under GPL.
+
+WWW: http://staff.csc.fi/~laaksone/Num2d.html
diff --git a/science/2dhf/pkg-plist b/science/2dhf/pkg-plist
new file mode 100644
index 000000000000..5ad5805d02bf
--- /dev/null
+++ b/science/2dhf/pkg-plist
@@ -0,0 +1,330 @@
+bin/xhf
+bin/x2dhf
+%%PORTDOCS%%%%DOCSDIR%%/2dhf.pdf
+%%PORTDOCS%%%%DOCSDIR%%/users_guide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/index.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node1.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node2.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node3.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node4.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node5.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node6.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/node7.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/footnode.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/images.tex
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img3.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img20.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img74.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img50.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img57.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img23.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img99.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img66.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img75.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img85.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img15.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img84.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img8.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img10.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img68.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img55.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img26.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img40.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img47.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img59.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/WARNINGS
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img32.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img70.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img86.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img83.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img78.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img64.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img48.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img35.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img52.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img17.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img25.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img53.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img9.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img95.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img33.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img36.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img81.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img34.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img109.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img100.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img103.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img7.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img63.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img112.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img61.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img1.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img79.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img62.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img12.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img44.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img110.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img89.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img14.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img54.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img27.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img69.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img60.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img19.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img28.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img16.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img71.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img58.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img92.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img82.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img93.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img72.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img97.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img29.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img4.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img13.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img24.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img56.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img5.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img18.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img22.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img87.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img90.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img2.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img46.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img113.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img88.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img108.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img6.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img102.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img65.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img105.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img37.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img94.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img106.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img111.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img38.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img67.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img76.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img49.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img77.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img42.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img30.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img98.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img96.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img80.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img104.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img31.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img39.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node1.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/labels.pl
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/images.pl
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide.css
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img41.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img43.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img45.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img51.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img107.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img73.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img101.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node2.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node3.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node4.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node5.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-node6.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-footnode.html
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-images.tex
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img16.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img2.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img112.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img41.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img75.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img87.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img89.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img13.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img46.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img37.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img20.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img11.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img6.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img36.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img38.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img93.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img17.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img57.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img45.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img3.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img33.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img25.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img86.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img8.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img26.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img95.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img21.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img91.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img79.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img85.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img9.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img44.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img63.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img14.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img21.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img1.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img103.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img7.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img105.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img4.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img30.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img69.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img84.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img35.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img31.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img100.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img24.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img34.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img68.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img59.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img62.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img98.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img22.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img32.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img50.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img65.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img104.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img61.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img52.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img80.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img108.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img47.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img19.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img39.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img82.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img58.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img18.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img40.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img49.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img96.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img94.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img106.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img88.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img12.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img77.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img15.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img78.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img64.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img5.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img54.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img29.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img42.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img43.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img102.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img48.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img92.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img55.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img27.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img71.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img110.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img90.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img51.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img70.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img76.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img109.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img60.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img113.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img107.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img83.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img97.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img99.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img67.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img28.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img72.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img101.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/img91.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img56.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img74.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img66.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img53.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img73.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img81.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-labels.pl
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-images.pl
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img111.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img23.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img11.png
+%%PORTDOCS%%%%DOCSDIR%%/users_guide/users_guide-img10.png
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/users_guide
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94la.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94l.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94la.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94lb.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf.inp
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94.pun
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94lb.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/bf/bf_g94.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/n2/n2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/n2/n2.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/th89/th89_2s.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/th89/th89_1s.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/th89/th89_1s.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/th89/th89_2s.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/h2/h2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/h2/h2.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/h2/h2a.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/h2/h2b.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c/c.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c/cplus.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c/c.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/c/cplus.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/be/be.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/be/be.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/bef/bef.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/bef/bef.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2a.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2.pun
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2b.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2c.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c2/c2a.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/bo/bo.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/bo/bo.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/bo/bo.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/bo/bo.pun
+%%PORTDOCS%%%%EXAMPLESDIR%%/bo/bo.inp
+%%PORTDOCS%%%%EXAMPLESDIR%%/f2/f2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/f2/f2.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/f2/f2.pun
+%%PORTDOCS%%%%EXAMPLESDIR%%/f2/f2.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/gaf/gaf.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/gaf/gaf.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/li2/li2.out
+%%PORTDOCS%%%%EXAMPLESDIR%%/li2/li2.pun
+%%PORTDOCS%%%%EXAMPLESDIR%%/li2/li2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/li2/li2.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-223-150-0-1.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-223-150-m1-1.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/Run_FH
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-223-150-m2-1.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-223-150-p1-1.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-223-150-p2-1.output
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-m2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-p2.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-m1.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-0.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/fh/fh-p1.data
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bf
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/n2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/th89
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/h2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/c
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/be
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bef
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/c2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bo
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/f2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%//gaf
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/li2
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/fh
diff --git a/science/Makefile b/science/Makefile
index 7924544b9171..eec85e9039f1 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
#
+ SUBDIR += 2dhf
SUBDIR += bblimage
SUBDIR += chemtool
# SUBDIR += chemtool-devel