aboutsummaryrefslogtreecommitdiffstats
path: root/biology/chemeq
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2006-01-20 03:47:59 +0800
committerdanfe <danfe@FreeBSD.org>2006-01-20 03:47:59 +0800
commit9bb67c8c00c77eb4510c9dc9db7d84304d260cbb (patch)
treef66c3f79323356d8a02a692581863a1f18d7a2ad /biology/chemeq
parent6580bc1fb74d7c8f7aad73915260bb626b2aebd0 (diff)
downloadfreebsd-ports-gnome-9bb67c8c00c77eb4510c9dc9db7d84304d260cbb.tar.gz
freebsd-ports-gnome-9bb67c8c00c77eb4510c9dc9db7d84304d260cbb.tar.zst
freebsd-ports-gnome-9bb67c8c00c77eb4510c9dc9db7d84304d260cbb.zip
- Resurrect, update to version 1.5 (literally 1.50 since I wanted to avoid
unnecessary PORTEPOCH bump) - Update MASTER_SITES and WWW line, provide backup download site - Come up with better port description - Reset maintainer to ports@ - Uphold CXX and CXXFLAGS - Clean up Makefile slightly - Don't install yet another copy of GPL and texts in French - Add SHA256 hash to distinfo
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%%