head	1.7;
access;
symbols
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.6
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2003.08.01.03.27.54;	author maho;	state dead;
branches;
next	1.6;

1.6
date	2002.01.20.02.45.37;	author trevor;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.20.11.12.44;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.19.15.53.46;	author trevor;	state Exp;
branches;
next	1.3;

1.3
date	2000.10.08.19.31.00;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.18.23.14.48;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.19.13.23.02;	author alex;	state Exp;
branches;
next	;


desc
@@


1.7
log
@a) Update to 1.7.3
b) Maintainer timeout:
   This PR is submitted by Thu May 08 07:30:18 PDT 2003
   but no reply from the maintainer.

PR:		51971
Submitted by:	KATO Tsuguru <tkato@@prontomail.com> aka Ports Fury
@
text
@--- Makefile.orig	Sat Dec  1 10:36:43 2001
+++ Makefile	Sat Jan 19 16:07:48 2002
@@@@ -1,26 +1,25 @@@@
 # XDrawChem configuration stuff
 # INSTDIR: The directory where the binary will go.  Should be in your path.
-#          The default is /usr/local/bin
+#          The default is ${PREFIX}/bin
 # INSTRING: The directory where you will store ring templates (without quotes).
 # RINGDIR: The directory where you will store ring templates (with quotes).
 # INSTRING and RINGDIR should be the same :)
-# Default should be /usr/local/lib/xdrawchem
+# Default should be ${PREFIX}/lib/xdrawchem
 # if you change RINGDIR, remember to put "\" before the directory,
 # and \"" after it, so the preprocessor will insert quotes correctly
 # SERVER: database server.  OK to set to "herger.ibb.gatech.edu";
 #         as of version 0.98, there are no other servers  :)
 
-INSTDIR = /usr/local/bin
-INSTRING = /usr/local/lib/xdrawchem
-RINGDIR = "\"/usr/local/lib/xdrawchem/\""
+INSTDIR = ${PREFIX}/bin
+INSTRING = ${PREFIX}/share/xdrawchem
+RINGDIR = "\"${PREFIX}/share/xdrawchem/\""
 SERVER = "\"herger.ibb.gatech.edu\""
 
 ## Platform-specific flags -- uncomment appropriate section
 ## For Linux, SGI IRIX 6.5 using gcc/g++
-CXX	=	g++
-INCPATH =	-I/usr/include -I$(QTDIR)/include
-LIBS	=	-lqt -lXext -lX11 -lm
-MOC	=	$(QTDIR)/bin/moc
+INCPATH =	-I$(QTDIR)/include/qt2
+LIBS	=	-lqt2 -lXext -lX11 -lm
+MOC	=	$(QTDIR)/bin/moc2
 
 ## for Sun
 #CXX	=	CC
@@@@ -37,10 +36,9 @@@@
 ## end of platform-specific flags
 
 ## other compiler flags
-CXXFLAGS = -g -DRINGHOME=$(RINGDIR) -DXDC_SERVER=$(SERVER)
-CC	=	gcc
-CFLAGS	=	-g -DRINGHOME=$(RINGDIR) -DXDC_SERVER=$(SERVER)
-LFLAGS	=	-g -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
+CXXFLAGS += -DRINGHOME=$(RINGDIR) -DXDC_SERVER=$(SERVER)
+CFLAGS	+=	-DRINGHOME=$(RINGDIR) -DXDC_SERVER=$(SERVER)
+LFLAGS	+=	-L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
 
 
 ####### Target
@


1.6
log
@Update to 0.99.7.  Use new DATADIR macro.  Install documentation,
including examples.  Add warning.
@
text
@@


1.5
log
@Update to 0.95.

Compile molecule_tools.cpp with -O0 on all architectures, not just
the Alpha, to avoid g++ pessimization.

Submitted by:	Matthew Emmerton <matt@@gsicomp.on.ca>
@
text
@d1 12
a12 3
--- Makefile.orig	Mon Jul 23 15:15:37 2001
+++ Makefile	Sun Aug 12 03:17:31 2001
@@@@ -8,24 +8,22 @@@@
d15 2
d24 1
d26 2
a27 4
 ## Compiler stuff
 ## Uncomment the appropriate compiler line
 
 ## For Linux, SGI IRIX 6.5 (as tested)
a28 5
 ## for Sun
 ##CXX	=	CC
-CXXFLAGS = -g -DRINGHOME=$(RINGDIR)
-CC	=	gcc
-CFLAGS	=	-g -DRINGHOME=$(RINGDIR)
a29 1
-LFLAGS	=	-g -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
d31 1
a31 3
-MOC	=	moc
+CXXFLAGS += -DRINGHOME=$(RINGDIR)
+CFLAGS	+=	-DRINGHOME=$(RINGDIR)
a32 1
+LFLAGS	=	-L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
d36 15
a51 1
 
@


1.4
log
@Update to 0.84.
@
text
@d1 4
a4 4
--- 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,
d7 2
d10 3
a12 2
+RINGDIR = "\"${PREFIX}/share/xdrawchem\""
 #RINGDIR = "\"ring/\""
d15 1
d17 1
d19 2
d28 2
a29 4
+CXX	?=	g++
+CXXFLAGS += -g -DRINGHOME=$(RINGDIR)
+CC	?=	gcc
+CFLAGS	+=	-g -DRINGHOME=$(RINGDIR)
d31 1
a31 1
+LFLAGS	=	-g -L$(QTDIR)/lib
@


1.3
log
@Add do-install target to port's Makefile.  Remove patch section
adding install target to ${WRKSRC}/Makefile.

PR:		21792
Submitted by:	Kato Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d1 3
a3 3
--- Makefile.orig	Thu May 25 03:17:35 2000
+++ Makefile	Mon Sep 18 15:56:32 2000
@@@@ -4,21 +4,21 @@@@
a16 6
+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
d21 4
d26 1
a26 1
+LFLAGS	=	-L$(QTDIR)/lib
@


1.2
log
@respect CXX and CXXFLAGS (Kato Tsuguru)
install data files (Kato Tsuguru)
bump version (myself)
use USE_NEWGCC (Will Andrews)
make whitespace changes to Makefile

PR:		21359
Submitted by:	maintainer
@
text
@a33 10
@@@@ -164,3 +164,9 @@@@
 
 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/
+	install -d -m 755 -o root -g wheel $(X11BASE)/share/xdrawchem/
+	install -c -m 644 -o root -g wheel ring/* $(X11BASE)/share/xdrawchem/
@


1.1
log
@Add xdrawchem 0.82 - a program for drawing molecules
@
text
@d1 20
a20 4
--- 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)
d27 2
a28 2
+INCPATH =	-I/usr/include -I$(QTDIR)/include/qt2
+LFLAGS	=	-L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
d30 1
a30 1
+MOC	=	moc2
d34 1
a34 1
@@@@ -157,3 +157,7 @@@@
d42 2
@

