head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.06.24.21.53.35;	author dougb;	state Exp;
branches;
next	1.1;

1.1
date	2008.05.14.14.07.01;	author pav;	state Exp;
branches;
next	;


desc
@@


1.2
log
@s/X11BASE/LOCALBASE/, or equivalent.

The X11BASE variable is long gone, however these ports were not updated.
@
text
@--- makefile.orig	Thu Oct 11 01:54:00 2007
+++ makefile	Mon Dec  3 22:08:28 2007
@@@@ -1,5 +1,5 @@@@
 #uncomment and locally adapt next line to fix the full helpfile path name
-HELPFILENAME = -DHELPFILENAME=\"/usr/share/njplot/njplot.help\"
+HELPFILENAME = -DHELPFILENAME=\"$(LOCALBASE)/doc/njplot/njplot.help\"
 
 #comment out next line and uncomment next 2 to use the PDFLib Lite library 
 NO_PDF = -DNO_PDF
@@@@ -7,43 +7,45 @@@@
 #PDFLIB = -L$(PDF) -lpdf
 
 # c compiler and linker
-CC = gcc
+CC ?= gcc
 
 # Vibrant top directory
-VIBRANT = /banques0/ncbiJun04
+#VIBRANT = /banques0/ncbiJun04
+NCBIINC = $(LOCALBASE)/include/ncbi
+NCBILIB = $(LOCALBASE)/lib/ncbi
 
 
 # X11 include directory
-X11INCL = /usr/X11R6/include
+X11INCL = $(LOCALBASE)/include
 
 # motif library directory
-MOTIFLIB = /sw/lib
-MOTIFINCL = /sw/include
+#MOTIFLIB = /sw/lib
+#MOTIFINCL = /sw/include
 
 OBJECTS = njplot-vib.o
 OBJUNROOTED = unrooted-vib.o preptree.o
 
 
-CFLAGS  = -c -DWIN_MOTIF -Dunix -I$(VIBRANT)/include -I$(VIBRANT)/vibrant -I$(VIBRANT)/corelib \
-	-I$(VIBRANT) -I$(PDF) -I$(X11INCL) -I$(MOTIFINCL) $(HELPFILENAME) $(NO_PDF) \
-	-Wimplicit-function-declaration -g
+CFLAGS  = -c -DWIN_MOTIF -Dunix -I$(NCBIINC) \
+	-I$(X11INCL) $(HELPFILENAME) $(NO_PDF) \
+	-Wimplicit-function-declaration
 	
 all: njplot  unrooted newicktops newicktotxt
 
 
 njplot : $(OBJECTS)
 	$(CC) -g -o njplot $(OBJECTS) \
-        -L$(VIBRANT)/lib \
+        -L$(NCBILIB) \
         -lvibrant -lncbi \
         $(PDFLIB)   \
-        -L$(MOTIFLIB) -lXm  \
-        -L/usr/X11R6/lib -lXmu -lXt -lX11 -lm
+        $(MOTIFLIB) \
+        -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm
         
 unrooted : $(OBJUNROOTED)
 	$(CC) -g -o unrooted $(OBJUNROOTED) \
-        -L$(VIBRANT)/lib -lvibrant -lncbi \
-        -L$(MOTIFLIB) -lXm \
-        -L/usr/X11R6/lib -lXmu -lXt -lX11  -lm
+        -L$(NCBILIB) -lvibrant -lncbi \
+        $(MOTIFLIB) \
+        -L$(LOCALBASE)/lib -lXmu -lXt -lX11  -lm
 
 newicktops: njplot-vib.c
 	$(CC) -DNO_GUI  -DNO_PDF -o $@@ njplot-vib.c -lm
@


1.1
log
@NJplot is a tree drawing program able to draw any phylogenetic tree expressed
in the Newick phylogenetic tree format (e.g., the format used by the PHYLIP
package). NJplot is especially convenient for rooting the unrooted trees
obtained from parsimony, distance or maximum likelihood tree-building methods.

The package contains the following programs:
njplot      - draw phylogenetic trees and interactively modify them
newicktops  - non-interactive version rendering into a PostScript file
newicktotxt - non-interactive version rendering into a text file
unrooted    - draw unrooted circular trees

If you use NJplot in a published work, please cite the following reference:

Perriere, G. and Gouy, M. (1996) WWW-Query: An on-line retrieval system for
biological sequence banks. Biochimie, 78, 364-369.

WWW: http://pbil.univ-lyon1.fr/software/njplot.html

PR:		ports/118438
Submitted by:	Motomichi Matsuzaki <mzaki@@biol.s.u-tokyo.ac.jp>
@
text
@d57 1
a57 1
+        -L$(X11BASE)/lib -lXmu -lXt -lX11 -lm
@

