summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--biology/Makefile1
-rw-r--r--biology/chemeq/Makefile38
-rw-r--r--biology/chemeq/distinfo3
-rw-r--r--biology/chemeq/pkg-descr5
-rw-r--r--biology/chemeq/pkg-plist10
6 files changed, 57 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 7cf33bd70255..a9fad5f27ea7 100644
--- a/MOVED
+++ b/MOVED
@@ -2056,7 +2056,6 @@ astro/gkrellmearth||2006-01-14|Mastersite disappeared
audio/mziq||2006-01-14|Mastersite disappeared
audio/radio||2006-01-14|Mastersite disappeared
audio/xmms-cdparanoia||2006-01-14|Mastersite disappeared
-biology/chemeq||2006-01-14|Mastersite disappeared
biology/deft||2006-01-14|Mastersite disappeared
biology/flip||2006-01-14|Mastersite disappeared
chinese/MT||2006-01-14|Does not work with MT 3
diff --git a/biology/Makefile b/biology/Makefile
index ea5b43a5df38..453364cbe0fc 100644
--- a/biology/Makefile
+++ b/biology/Makefile
@@ -12,6 +12,7 @@
SUBDIR += blast
SUBDIR += clustalw
SUBDIR += coalesce
+ SUBDIR += chemeq
SUBDIR += crimap
SUBDIR += distribfold
SUBDIR += dna-qc
diff --git a/biology/chemeq/Makefile b/biology/chemeq/Makefile
new file mode 100644
index 000000000000..78b0ea3f0dbb
--- /dev/null
+++ b/biology/chemeq/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: Chemeq
+# Date created: 31 May 2000
+# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= chemeq
+PORTVERSION= 1.50
+CATEGORIES= biology textproc
+MASTER_SITES= http://download.gna.org/chemeq/chemeq-1.5/ \
+ http://freebsd.nsu.ru/distfiles/
+DISTNAME= ${PORTNAME}_1.5
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Outputs LaTeX code for chemical reaction
+
+MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
+
+USE_BISON= yes
+
+MAN1= chemeq.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/chemeq ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/chemeq.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tests/test.stuff ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tests/chemreport ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tests/chemreport.pl ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tests/chemtest ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tests/chemtest.pl ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/biology/chemeq/distinfo b/biology/chemeq/distinfo
new file mode 100644
index 000000000000..ec702522c8c6
--- /dev/null
+++ b/biology/chemeq/distinfo
@@ -0,0 +1,3 @@
+MD5 (chemeq_1.5.tar.gz) = 464d68158dc5b9f29732388914a60d0c
+SHA256 (chemeq_1.5.tar.gz) = f08ff4c07da773fdd5b3adc9a5323868d59f66aed931aff390c5ee92058b3d25
+SIZE (chemeq_1.5.tar.gz) = 28202
diff --git a/biology/chemeq/pkg-descr b/biology/chemeq/pkg-descr
new file mode 100644
index 000000000000..c336d5a74da0
--- /dev/null
+++ b/biology/chemeq/pkg-descr
@@ -0,0 +1,5 @@
+Chemeq is a basic standalone filter written in C++ language, flex and bison.
+It takes strings like: 2H2 + O2 ---> 2 H2O and can output pretty LaTeX code,
+useful messages and much more. It aims to be embeddable in education tools.
+
+WWW: http://home.gna.org/chemeq/
diff --git a/biology/chemeq/pkg-plist b/biology/chemeq/pkg-plist
new file mode 100644
index 000000000000..062462cecb63
--- /dev/null
+++ b/biology/chemeq/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+bin/chemeq
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.stuff
+%%PORTDOCS%%%%EXAMPLESDIR%%/chemreport
+%%PORTDOCS%%%%EXAMPLESDIR%%/chemreport.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/chemtest
+%%PORTDOCS%%%%EXAMPLESDIR%%/chemtest.pl
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%