summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-09-11 07:46:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-09-11 07:46:02 +0000
commit240a6fffbc6976bcc5293e328c34b1a21b982502 (patch)
tree9c362a115dac57356152f73b6d42a753e771a7fc /science
parentUpdate version number of gtkhtml shared library. (diff)
upgrade to 1.3.1
drop maintainership
Notes
Notes: svn path=/head/; revision=47641
Diffstat (limited to 'science')
-rw-r--r--science/chemtool/Makefile4
-rw-r--r--science/chemtool/distinfo2
-rw-r--r--science/chemtool/files/patch-Makefile32
-rw-r--r--science/chemtool/files/patch-src-cht::Makefile6
-rw-r--r--science/chemtool/pkg-plist1
5 files changed, 13 insertions, 32 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index 36199107abe0..06d10bd29bd7 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -6,11 +6,11 @@
# $FreeBSD$
PORTNAME= chemtool
-PORTVERSION= 1.3
+PORTVERSION= 1.3.1
CATEGORIES= science
MASTER_SITES= http://www.uni-ulm.de/~s_tvolk/chemtool/src/
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
diff --git a/science/chemtool/distinfo b/science/chemtool/distinfo
index 8b9277dba811..5ee3a1d2feed 100644
--- a/science/chemtool/distinfo
+++ b/science/chemtool/distinfo
@@ -1 +1 @@
-MD5 (chemtool-1.3.tar.gz) = bc66cf300fb12e6b308c0c3ef33c8491
+MD5 (chemtool-1.3.1.tar.gz) = 1b61a19a9757292b9b9a827b798f0320
diff --git a/science/chemtool/files/patch-Makefile b/science/chemtool/files/patch-Makefile
index a1192f632ba1..ea86514bf556 100644
--- a/science/chemtool/files/patch-Makefile
+++ b/science/chemtool/files/patch-Makefile
@@ -1,41 +1,21 @@
---- Makefile.orig Wed Feb 7 03:52:54 2001
-+++ Makefile Sat Apr 14 02:34:58 2001
-@@ -1,7 +1,4 @@
+--- Makefile.orig Tue Sep 11 15:38:42 2001
++++ Makefile Tue Sep 11 15:39:52 2001
+@@ -1,7 +1,5 @@
-PREFIX=/usr/local
-LOCALEDIR=/usr/share/locale
--CFLAGS=-O2 -Wall
+-CFLAGS=-O2 -Wall `gtk-config --cflags` # -DDISABLE_NLS
-CC=gcc
+LOCALEDIR=${PREFIX}/share/locale
++CFLAGS+=`${GTK_CONFIG} --cflags` # -DDISABLE_NLS
CP=/bin/cp
RM=/bin/rm -f
-@@ -9,8 +6,8 @@
+@@ -9,7 +7,7 @@
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
-@@ -20,14 +17,14 @@
- ${CC} ${OBJS} ${SYS_LIBRARIES} -o chemtool
-
- cht: src-cht/cht-1.3.c
-- cd src-cht;make
-+ cd src-cht;${MAKE}
- .c.o:
- ${CC} ${CFLAGS} ${EXTRA_INCLUDES} -c ${SRCS}
-
- install: chemtool src-cht/cht
-- ${CP} chemtool src-cht/cht ${PREFIX}/bin
-- ${CP} chemtool.1 ${PREFIX}/man/man1
-- for L in `ls locales`; do ${CP} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done
-+ ${BSD_INSTALL_PROGRAM} chemtool src-cht/cht ${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} chemtool.1 ${PREFIX}/man/man1
-+ for L in `ls locales`; do mkdir -p ${LOCALEDIR}/$$L/LC_MESSAGES; ${BSD_INSTALL_DATA} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done
-
- clean:
- ${RM} *.o *~ src-cht/*.o src-cht/*~ chemtool src-cht/cht
diff --git a/science/chemtool/files/patch-src-cht::Makefile b/science/chemtool/files/patch-src-cht::Makefile
index 193d47274874..70da66702f59 100644
--- a/science/chemtool/files/patch-src-cht::Makefile
+++ b/science/chemtool/files/patch-src-cht::Makefile
@@ -3,6 +3,6 @@
@@ -1,4 +1,4 @@
default: cht
- cht: cht-1.3.c
-- gcc -O cht-1.3.c -lm -o cht
-+ ${CC} ${CFLAGS} cht-1.3.c -lm -o cht
+ cht: cht-1.7.c
+- gcc -O cht-1.7.c -lm -o cht
++ ${CC} ${CFLAGS} cht-1.7.c -lm -o cht
diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist
index 1529a42d1d71..624a46fbc3a7 100644
--- a/science/chemtool/pkg-plist
+++ b/science/chemtool/pkg-plist
@@ -2,3 +2,4 @@ bin/chemtool
bin/cht
share/locale/cs/LC_MESSAGES/chemtool.mo
share/locale/de/LC_MESSAGES/chemtool.mo
+share/locale/ru/LC_MESSAGES/chemtool.mo