aboutsummaryrefslogtreecommitdiff
path: root/biology/chemeq
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-01-19 19:47:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-01-19 19:47:59 +0000
commita6dbbc031873e6e0d4c46562fd8a019682cf22f5 (patch)
tree4f73c8f3beaab97c895228d1f9fd8a5b7ec0e9fc /biology/chemeq
parent1281c8b7c08157b1213208daf60d8ce9e02a041c (diff)
downloadports-a6dbbc031873e6e0d4c46562fd8a019682cf22f5.tar.gz
ports-a6dbbc031873e6e0d4c46562fd8a019682cf22f5.zip
Notes
Diffstat (limited to 'biology/chemeq')
-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
4 files changed, 56 insertions, 0 deletions
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%%