aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-02-19 23:53:46 +0800
committertrevor <trevor@FreeBSD.org>2001-02-19 23:53:46 +0800
commit3f310169738db14fbd6754116f24991ce3895f31 (patch)
treebdbd941d57288239afd45b217283f7f669151733 /biology
parent14369e41bb426124299033793639aa71bf603669 (diff)
downloadfreebsd-ports-gnome-3f310169738db14fbd6754116f24991ce3895f31.tar.gz
freebsd-ports-gnome-3f310169738db14fbd6754116f24991ce3895f31.tar.zst
freebsd-ports-gnome-3f310169738db14fbd6754116f24991ce3895f31.zip
Update to 0.84.
Diffstat (limited to 'biology')
-rw-r--r--biology/xdrawchem/Makefile9
-rw-r--r--biology/xdrawchem/distinfo2
-rw-r--r--biology/xdrawchem/files/patch-aa18
3 files changed, 14 insertions, 15 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index e4297058e949..b6bdb89d415e 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -6,16 +6,16 @@
#
PORTNAME= xdrawchem
-PORTVERSION= 0.84a
+PORTVERSION= 0.84
CATEGORIES= biology
MASTER_SITES= http://www.prism.gatech.edu/~gte067k/xdrawchem/
-DISTNAME= xdc084
+DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" QTDIR="${X11BASE}"
-PLIST= ${WRKSRC}/pkg-plist
+PLIST= ${WRKDIR}/pkg-plist
USE_GMAKE= yes
USE_NEWGCC= yes
USE_QT2= yes
@@ -24,7 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
pre-install:
${ECHO} bin/xdrawchem > ${PLIST}
- ${ECHO} share/xdrawchem/calix4.ring >> ${PLIST}
+ cd ${WRKSRC}/ring && find -s . -type f | \
+ ${SED} -e 's:^.:share/xdrawchem:' >> ${PLIST}
${ECHO} @dirrm share/xdrawchem >> ${PLIST}
do-install:
diff --git a/biology/xdrawchem/distinfo b/biology/xdrawchem/distinfo
index 485d874c5e51..76bf75d9c03e 100644
--- a/biology/xdrawchem/distinfo
+++ b/biology/xdrawchem/distinfo
@@ -1 +1 @@
-MD5 (xdc084.tgz) = 9fc77ba1bd02b337509ab57f5c1873d5
+MD5 (xdrawchem.tgz) = 48f97c463ed882d50b7a87a7a30fec17
diff --git a/biology/xdrawchem/files/patch-aa b/biology/xdrawchem/files/patch-aa
index bb16c77df2ba..ba4505a938c7 100644
--- a/biology/xdrawchem/files/patch-aa
+++ b/biology/xdrawchem/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Thu May 25 03:17:35 2000
-+++ Makefile Mon Sep 18 15:56:32 2000
-@@ -4,21 +4,21 @@
+--- Makefile.orig Wed Feb 7 10:16:18 2001
++++ Makefile Mon Feb 19 07:24:11 2001
+@@ -4,19 +4,19 @@
# if you change this variable, remember to put "\" before the directory,
# and \"" after it, so the preprocessor will insert quotes correctly
@@ -14,18 +14,16 @@
-CXXFLAGS = -g -DRINGHOME=$(RINGDIR)
-CC = gcc
-CFLAGS = -g -DRINGHOME=$(RINGDIR)
-+CXX ?= g++
-+CXXFLAGS += -g -DRINGHOME=$(RINGDIR)
-+CC ?= gcc
-+CFLAGS += -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
++CXX ?= g++
++CXXFLAGS += -g -DRINGHOME=$(RINGDIR)
++CC ?= gcc
++CFLAGS += -g -DRINGHOME=$(RINGDIR)
+INCPATH = -I$(QTDIR)/include/qt2
-+LFLAGS = -L$(QTDIR)/lib
++LFLAGS = -g -L$(QTDIR)/lib
+LIBS = -lqt2 -lXext -lX11 -lm
+MOC = $(QTDIR)/bin/moc2