summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-07-19 13:23:02 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-07-19 13:23:02 +0000
commit7d609004d58336401e2e04dd6473f7115a60bbeb (patch)
tree2e8506a9c23a6be8b481c4432cb41478b1fc8ad7 /biology
parentAdd bbkeys 0.3.3 - a keygrabber for the Blackbox window manager. (diff)
Add xdrawchem 0.82 - a program for drawing molecules
Notes
Notes: svn path=/head/; revision=30857
Diffstat (limited to 'biology')
-rw-r--r--biology/Makefile1
-rw-r--r--biology/xdrawchem/Makefile26
-rw-r--r--biology/xdrawchem/distinfo1
-rw-r--r--biology/xdrawchem/files/patch-aa25
-rw-r--r--biology/xdrawchem/pkg-comment1
-rw-r--r--biology/xdrawchem/pkg-descr10
-rw-r--r--biology/xdrawchem/pkg-plist1
7 files changed, 65 insertions, 0 deletions
diff --git a/biology/Makefile b/biology/Makefile
index 36a601a06336..f0b43f8b45c3 100644
--- a/biology/Makefile
+++ b/biology/Makefile
@@ -19,6 +19,7 @@
SUBDIR += rasmol
SUBDIR += seaview
SUBDIR += tinker
+ SUBDIR += xdrawchem
SUBDIR += xmolwt
.include <bsd.port.subdir.mk>
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
new file mode 100644
index 000000000000..2100af1a0f66
--- /dev/null
+++ b/biology/xdrawchem/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: xdrawchem
+# Date created: 13 April 2000
+# Whom: Trevor Johnson <trevor@jpj.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xdrawchem
+PORTVERSION= 0.82
+CATEGORIES= biology
+MASTER_SITES= http://www.prism.gatech.edu/~gte067k/xdrawchem/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= trevor@jpj.net
+
+USE_QT2= yes
+
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAKE_ENV+= QTDIR=${X11BASE}
+USE_GMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/biology/xdrawchem/distinfo b/biology/xdrawchem/distinfo
new file mode 100644
index 000000000000..a2157422f0bb
--- /dev/null
+++ b/biology/xdrawchem/distinfo
@@ -0,0 +1 @@
+MD5 (xdrawchem.tgz) = abda33e61e9621b79349c59f80fb15c3
diff --git a/biology/xdrawchem/files/patch-aa b/biology/xdrawchem/files/patch-aa
new file mode 100644
index 000000000000..d1f588be7401
--- /dev/null
+++ b/biology/xdrawchem/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.orig Fri Mar 31 03:05:27 2000
++++ Makefile Sun Apr 16 12:57:25 2000
+@@ -13,10 +13,10 @@
+ CFLAGS = -g -DRINGHOME=$(RINGDIR)
+ #INCPATH = -I/usr/include -I/usr/people/herger/src/qt-2.0.2/include
+ #LFLAGS = -L/usr/src/qt-2.0.2/lib -L/usr/lib
+-INCPATH = -I/usr/include -I$(QTDIR)/include
+-LFLAGS = -g -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
+-LIBS = -lqt -lXext -lX11 -lm
+-MOC = moc
++INCPATH = -I/usr/include -I$(QTDIR)/include/qt2
++LFLAGS = -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
++LIBS = -lqt2 -lXext -lX11 -lm
++MOC = moc2
+
+ ####### Target
+
+@@ -157,3 +157,7 @@
+
+ moc_manual.cpp: manual.h
+ $(MOC) manual.h -o moc_manual.cpp
++
++install:
++ strip -s xdrawchem
++ install -c -m 755 -o root -g wheel xdrawchem $(X11BASE)/bin/
diff --git a/biology/xdrawchem/pkg-comment b/biology/xdrawchem/pkg-comment
new file mode 100644
index 000000000000..507a2f723ed6
--- /dev/null
+++ b/biology/xdrawchem/pkg-comment
@@ -0,0 +1 @@
+Chemical drawing program
diff --git a/biology/xdrawchem/pkg-descr b/biology/xdrawchem/pkg-descr
new file mode 100644
index 000000000000..06634ebf3a38
--- /dev/null
+++ b/biology/xdrawchem/pkg-descr
@@ -0,0 +1,10 @@
+from the Web page:
+
+XDrawChem is a two-dimensional molecule drawing program.
+It can read and write MDL Molfiles to allow sharing between XDrawChem
+and other chemistry applications.
+
+WWW: http://www.prism.gatech.edu/~gte067k/xdrawchem/
+
+Trevor Johnson
+trevor@jpj.net
diff --git a/biology/xdrawchem/pkg-plist b/biology/xdrawchem/pkg-plist
new file mode 100644
index 000000000000..d6765dee5ce3
--- /dev/null
+++ b/biology/xdrawchem/pkg-plist
@@ -0,0 +1 @@
+bin/xdrawchem