Update to 1.6.3

Submitted by:	Christopher Illies <christopher.illies@web.de>
This commit is contained in:
Maho Nakata 2005-01-30 03:20:47 +00:00
parent 8000d53195
commit 36cd475082
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127678
6 changed files with 42 additions and 94 deletions

View file

@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= chemtool
PORTVERSION= 1.6
PORTREVISION= 2
PORTVERSION= 1.6.3
CATEGORIES= science
MASTER_SITES= http://ruby.chemie.uni-freiburg.de/~martin/chemtool/
@ -16,13 +15,13 @@ COMMENT= Draw organic molecules easily and store them
LIB_DEPENDS= EMF.1:${PORTSDIR}/graphics/libemf
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
USE_GNOME= gtk12
USE_GNOME= gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libEMF
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS+="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-emf=yes
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
MAN1= chemtool.1 cht.1

View file

@ -1,2 +1,2 @@
MD5 (chemtool-1.6.tar.gz) = 1b7a1bde89517ef8a1b4a566bfbd9b3f
SIZE (chemtool-1.6.tar.gz) = 358695
MD5 (chemtool-1.6.3.tar.gz) = 054b3e737781c5cf09967444d218ae73
SIZE (chemtool-1.6.3.tar.gz) = 400772

View file

@ -1,23 +0,0 @@
$FreeBSD$
--- Makefile.in.orig Sun May 11 22:02:15 2003
+++ Makefile.in Sun Jul 20 22:49:21 2003
@@ -5,7 +5,7 @@
mandir=@mandir@
kdedir=@kdemimedir@
gnomedir=@gnomemimedir@
-CFLAGS=-O2 -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
+CFLAGS= @CFLAGS@ -I. `${GTK_CONFIG} --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
CC=@CC@
CP=/bin/cp
@@ -16,7 +16,7 @@
SRCS = main.c chemproc.c graph.c draw.c inout.c undo.c @MYGTKSRCS@
OBJS = main.o chemproc.o graph.o draw.o inout.o undo.o @MYGTKOBJS@
-SYS_LIBRARIES = `gtk-config --libs` @EMFLIBS@ -lm
+SYS_LIBRARIES = `${GTK_CONFIG} --libs` @EMFLIBS@ -lm
all: chemtool cht

View file

@ -1,13 +0,0 @@
$FreeBSD$
--- ct.h.orig Fri Aug 30 00:57:10 2002
+++ ct.h Fri Aug 30 00:58:22 2002
@@ -1,7 +1,6 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#undef __GNUC__
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

View file

@ -1,16 +0,0 @@
$FreeBSD$
--- ct1.h.orig Sat Aug 31 01:07:06 2002
+++ ct1.h Sat Aug 31 01:07:56 2002
@@ -224,8 +224,8 @@
extern void check_fig2dev(void);
#ifdef LIBUNDO
-extern int undo_free();
-extern int undo_malloc();
+extern void undo_free();
+extern void *undo_malloc();
extern int undo_snapshot();
#endif

View file

@ -1,44 +1,45 @@
@comment $FreeBSD$
bin/chemtool
bin/cht
%%PORTDOCS%%%%EXAMPLESDIR%%/14263232.mol
%%PORTDOCS%%%%EXAMPLESDIR%%/AMP.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/Adenosine.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/Dehydrotubifolin.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/G-host.pdb
%%PORTDOCS%%%%EXAMPLESDIR%%/Indolizomycin.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/Lepicidin-A-Aglycon.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/Neu2
%%PORTDOCS%%%%EXAMPLESDIR%%/amine.mol
%%PORTDOCS%%%%EXAMPLESDIR%%/anabsinthin
%%PORTDOCS%%%%EXAMPLESDIR%%/atp
%%PORTDOCS%%%%EXAMPLESDIR%%/bcarotin.pdb
%%PORTDOCS%%%%EXAMPLESDIR%%/breve.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/breve.mol
%%PORTDOCS%%%%EXAMPLESDIR%%/bufotalin
%%PORTDOCS%%%%EXAMPLESDIR%%/byrostatin1.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/c70.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/camphor
%%PORTDOCS%%%%EXAMPLESDIR%%/chlorophyll
%%PORTDOCS%%%%EXAMPLESDIR%%/claisen.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/dodecahedran.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/indigo
%%PORTDOCS%%%%EXAMPLESDIR%%/kdo
%%PORTDOCS%%%%EXAMPLESDIR%%/krebs.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/labeltest
%%PORTDOCS%%%%EXAMPLESDIR%%/pagodan.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/penicillin_v.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/pteridin
%%PORTDOCS%%%%EXAMPLESDIR%%/reaction.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/rutamycin_b.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/tbutylazulene
%%PORTDOCS%%%%EXAMPLESDIR%%/tcdd.cht
%%PORTDOCS%%%%EXAMPLESDIR%%/tetracyclin
%%PORTDOCS%%%%EXAMPLESDIR%%/viagra.cht
share/examples/chemtool/14263232.mol
share/examples/chemtool/AMP.cht
share/examples/chemtool/Adenosine.cht
share/examples/chemtool/Dehydrotubifolin.cht
share/examples/chemtool/G-host.pdb
share/examples/chemtool/Indolizomycin.cht
share/examples/chemtool/Lepicidin-A-Aglycon.cht
share/examples/chemtool/Neu2
share/examples/chemtool/amine.mol
share/examples/chemtool/anabsinthin.cht
share/examples/chemtool/anthocyanidine.cht
share/examples/chemtool/atp.cht
share/examples/chemtool/bcarotin.pdb
share/examples/chemtool/breve.cht
share/examples/chemtool/breve.mol
share/examples/chemtool/bufotalin.cht
share/examples/chemtool/byrostatin1.cht
share/examples/chemtool/c70.cht
share/examples/chemtool/camphor.cht
share/examples/chemtool/chlorophyll.cht
share/examples/chemtool/claisen.cht
share/examples/chemtool/dodecahedran.cht
share/examples/chemtool/indigo.cht
share/examples/chemtool/kdo.cht
share/examples/chemtool/krebs.cht
share/examples/chemtool/labeltest
share/examples/chemtool/pagodan.cht
share/examples/chemtool/penicillin_v.cht
share/examples/chemtool/pteridin.cht
share/examples/chemtool/reaction.cht
share/examples/chemtool/rutamycin_b.cht
share/examples/chemtool/tbutylazulene.cht
share/examples/chemtool/tcdd.cht
share/examples/chemtool/tetracyclin.cht
share/examples/chemtool/viagra.cht
share/locale/cs/LC_MESSAGES/chemtool.mo
share/locale/de/LC_MESSAGES/chemtool.mo
share/locale/fr/LC_MESSAGES/chemtool.mo
share/locale/pl/LC_MESSAGES/chemtool.mo
share/locale/pt_BR/LC_MESSAGES/chemtool.mo
share/locale/ru/LC_MESSAGES/chemtool.mo
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm share/examples/chemtool