summaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
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 36a601a..f0b43f8 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 0000000..2100af1
--- /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 0000000..a215742
--- /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 0000000..d1f588b
--- /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 0000000..507a2f7
--- /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 0000000..06634eb
--- /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 0000000..d6765de
--- /dev/null
+++ b/biology/xdrawchem/pkg-plist
@@ -0,0 +1 @@
+bin/xdrawchem
OpenPOWER on IntegriCloud