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


1.2
date	2008.04.19.17.51.26;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2006.08.06.10.53.54;	author jkoshy;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@--- ./contrib/libgraph/Makefile--	Thu Dec 24 00:36:55 1998
+++ ./contrib/libgraph/Makefile	Sun Aug  6 11:37:59 2006
@@@@ -1,17 +1,17 @@@@
 # Makefile for the portable graphics library
 
 # These options are overriden when called from ../Makefile
-CC=cc
+#CC=cc
 OPTS=
-X11_INCLUDES=/usr/include
-X11_LIB=/usr/lib
-CPP=/lib/cpp -P
+X11_INCLUDES=${LOCALBASE}
+X11_LIB=${LOCALBASE}/lib
+CPP=/usr/bin/cpp -P
 
-BINDIR=/usr/local/bin
-LIBDIR=/usr/local/lib/caml-light
+BINDIR=${PREFIX}/bin
+LIBDIR=${PREFIX}/lib/caml-light
 
 # Compilation options
-CFLAGS=$(OPTS) -I../../src/runtime -I$(X11_INCLUDES) -O
+CFLAGS+=$(OPTS) -I../../src/runtime -I$(X11_INCLUDES)
 
 # Test to see whether ranlib exists on the machine
 RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib
@@@@ -20,8 +20,8 @@@@
 RANLIB=ranlib
 
 # The Caml Light compilers
-CAMLC=camlc
-CAMLMKTOP=camlmktop
+CAMLC=${PREFIX}/bin/camlc
+CAMLMKTOP=${PREFIX}/bin/camlmktop
 COMPFLAGS=-W -I ../libunix
 
 OBJS=open.o draw.o fill.o color.o text.o \
@


1.1
log
@- Honor CC, CFLAGS etc.				[1]
- Use BSD_INSTALL_* macros to install files.	[1]
- Make the port PREFIX clean.

PR:		ports/101398	[1]
Submitted by:	Stanislav Sedov <ssedov@@mbsd.msk.ru>
@
text
@d13 2
a14 2
+X11_INCLUDES=${X11BASE}
+X11_LIB=${X11BASE}/lib
@

