summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-30 19:23:00 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-30 19:23:00 +0000
commit930bd6ef2ae10b47f6d7427e9c6694aed76d026e (patch)
tree08ce076bd4d8794e7acfc5ba1fb5615c5b11cddb /science
parent- upgrade to 1.2.9.2 (diff)
add chemtool
Chemtool is a program for drawing organic molecules easily and store them as an Postscript, X-Bitmap, LaTeX and XFig file ps. first science ports ?
Notes
Notes: svn path=/head/; revision=40601
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/chemtool/Makefile21
-rw-r--r--science/chemtool/distinfo1
-rw-r--r--science/chemtool/files/patch-Makefile22
-rw-r--r--science/chemtool/pkg-comment1
-rw-r--r--science/chemtool/pkg-descr4
-rw-r--r--science/chemtool/pkg-plist4
7 files changed, 54 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index caa64b99fe23..a11e249c1273 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -2,5 +2,6 @@
#
# SUBDIR += dir
+ SUBDIR += chemtool
.include <bsd.port.subdir.mk>
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
new file mode 100644
index 000000000000..36199107abe0
--- /dev/null
+++ b/science/chemtool/Makefile
@@ -0,0 +1,21 @@
+# ex:ts=8
+# New ports collection makefile for: chemtool
+# Date created: Mar 31, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= chemtool
+PORTVERSION= 1.3
+CATEGORIES= science
+MASTER_SITES= http://www.uni-ulm.de/~s_tvolk/chemtool/src/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
+
+USE_GTK= yes
+
+MAN1= chemtool.1
+
+.include <bsd.port.mk>
diff --git a/science/chemtool/distinfo b/science/chemtool/distinfo
new file mode 100644
index 000000000000..8b9277dba811
--- /dev/null
+++ b/science/chemtool/distinfo
@@ -0,0 +1 @@
+MD5 (chemtool-1.3.tar.gz) = bc66cf300fb12e6b308c0c3ef33c8491
diff --git a/science/chemtool/files/patch-Makefile b/science/chemtool/files/patch-Makefile
new file mode 100644
index 000000000000..92bf6d66fbfb
--- /dev/null
+++ b/science/chemtool/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Feb 7 02:52:54 2001
++++ Makefile Sat Mar 31 03:10:38 2001
+@@ -1,7 +1,4 @@
+-PREFIX=/usr/local
+-LOCALEDIR=/usr/share/locale
+-CFLAGS=-O2 -Wall
+-CC=gcc
++LOCALEDIR=${PREFIX}/share/locale
+ CP=/bin/cp
+ RM=/bin/rm -f
+
+@@ -9,8 +6,8 @@
+ OBJS = main.o chemproc.o graph.o draw.o inout.o
+
+
+-EXTRA_INCLUDES = `gtk-config --cflags` # -DDISABLE_NLS
+-SYS_LIBRARIES = `gtk-config --libs` -lm
++EXTRA_INCLUDES = `${GTK_CONFIG} --cflags` # -DDISABLE_NLS
++SYS_LIBRARIES = `${GTK_CONFIG} --libs` -lm
+
+ all: chemtool cht
+
diff --git a/science/chemtool/pkg-comment b/science/chemtool/pkg-comment
new file mode 100644
index 000000000000..6c1ecaa57bc0
--- /dev/null
+++ b/science/chemtool/pkg-comment
@@ -0,0 +1 @@
+Drawing organic molecules easily and store them
diff --git a/science/chemtool/pkg-descr b/science/chemtool/pkg-descr
new file mode 100644
index 000000000000..28896e514610
--- /dev/null
+++ b/science/chemtool/pkg-descr
@@ -0,0 +1,4 @@
+Chemtool is a program for drawing organic molecules easily and store them as
+a X bitmap file.
+
+WWW: http://www.uni-ulm.de/~s_tvolk/chemtool.html
diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist
new file mode 100644
index 000000000000..1529a42d1d71
--- /dev/null
+++ b/science/chemtool/pkg-plist
@@ -0,0 +1,4 @@
+bin/chemtool
+bin/cht
+share/locale/cs/LC_MESSAGES/chemtool.mo
+share/locale/de/LC_MESSAGES/chemtool.mo