aboutsummaryrefslogtreecommitdiffstats
path: root/biology/xdrawchem
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-07-19 21:23:02 +0800
committeralex <alex@FreeBSD.org>2000-07-19 21:23:02 +0800
commit90abd0e66a441de31b7d46a8123ab72d36700d64 (patch)
tree14bd292e2b26d1d30682c7a39112f8b91b63fdca /biology/xdrawchem
parentb42342093103b68158c47b291f71560804f8a3f5 (diff)
downloadfreebsd-ports-gnome-90abd0e66a441de31b7d46a8123ab72d36700d64.tar.gz
freebsd-ports-gnome-90abd0e66a441de31b7d46a8123ab72d36700d64.tar.zst
freebsd-ports-gnome-90abd0e66a441de31b7d46a8123ab72d36700d64.zip
Add xdrawchem 0.82 - a program for drawing molecules
Diffstat (limited to 'biology/xdrawchem')
-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
6 files changed, 64 insertions, 0 deletions
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