aboutsummaryrefslogtreecommitdiff
path: root/biology/platon/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-05-07 06:56:52 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-05-07 06:56:52 +0000
commit5a653f9998d4de4d036c1fad48d1b433d9b33954 (patch)
tree39a0ba815eedddf04760d9a1cba65220224a4509 /biology/platon/Makefile
parentedee6681670568d4157bc7f9d6217fdb50c83636 (diff)
downloadports-5a653f9998d4de4d036c1fad48d1b433d9b33954.tar.gz
ports-5a653f9998d4de4d036c1fad48d1b433d9b33954.zip
Notes
Diffstat (limited to 'biology/platon/Makefile')
-rw-r--r--biology/platon/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/biology/platon/Makefile b/biology/platon/Makefile
new file mode 100644
index 000000000000..6d3b94b71f37
--- /dev/null
+++ b/biology/platon/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: platon
+# Version required: Version 07-apr-99
+# Date created: 1999-04-22
+# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= platon
+PKGNAME= platon-070499
+CATEGORIES= biology
+MASTER_SITES= ftp://xraysoft.chem.ruu.nl/pub/unix/
+
+MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
+
+# PLATON may be used free of charge by the academic community under
+# the condition that it is not redistributed for a current & fresh copy.
+# There is a charge of US$ 5000 for commercial users.
+RESTRICTED= "free for academic, US$ 5000 for commercial users"
+
+SAMPLES= azt.dat bucky.spf c476.spf c540.cart3d check.def cubane.spf \
+ cyto.spf ml.pdb s810c.cif s913a.res sucrose.spf
+TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \
+ ASYM_EXAMPLE DELABS_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE \
+ SQUEEZE_EXAMPLE
+
+pre-patch:
+ (cd ${WRKDIR}/${DISTNAME} && ${GUNZIP_CMD} platon.f.Z)
+ ${CP} ${FILESDIR}/Makefile ${WRKDIR}/${DISTNAME}
+
+pre-install:
+ strip ${WRKDIR}/${DISTNAME}/platon
+ ${RM} -f ${PREFIX}/bin/pluton
+ ${RM} -rf ${PREFIX}/share/doc/platon
+ ${MKDIR} ${PREFIX}/share/doc/platon
+ ${RM} -rf ${PREFIX}/share/doc/platon/TEST
+ ${MKDIR} ${PREFIX}/share/doc/platon/TEST
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon ${PREFIX}/bin
+ ln -s ${PREFIX}/bin/platon ${PREFIX}/bin/pluton
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README* \
+ ${PREFIX}/share/doc/platon
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/VALIDATION.DOC \
+ ${PREFIX}/share/doc/platon
+ for file in ${SAMPLES} ; do \
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$${file} \
+ ${PREFIX}/share/doc/platon ; \
+ done
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/platon_html.tar.gz \
+ ${PREFIX}/share/doc/platon
+ for dirs in ${TESTDATADIR} ; do \
+ ${MKDIR} ${PREFIX}/share/doc/platon/TEST/$${dirs} && \
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TEST/$${dirs}/* \
+ ${PREFIX}/share/doc/platon/TEST/$${dirs} ; \
+ done
+
+.include <bsd.port.mk>