summaryrefslogblamecommitdiff
path: root/math/gnuplot/Makefile
blob: 42005ade8641308c760e05f6acc873e622c6f7cc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                           
                                     
                              
 
           

 
                           
                             
                                                     
 
                                  
 
                                              
                                                                
 
                   
                   
                                         

                                                    
                                              
                                            
                                                              
 





                                                                               

                                    
                      
# New ports collection makefile for:    gnuplot
# Version required:     3.7
# Date created:         19 April 1998
# Whom:                 chuckr
#
# $FreeBSD$
#

DISTNAME=	gnuplot-3.7
CATEGORIES=	math graphics
MASTER_SITES=	ftp://ftp.gnuplot.vt.edu/pub/gnuplot/

MAINTAINER=	chuckr@FreeBSD.org

LIB_DEPENDS=    png.3:${PORTSDIR}/graphics/png
BUILD_DEPENDS=	${LOCALBASE}/lib/libgd.a:${PORTSDIR}/graphics/gd

USE_XLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--exec-prefix=${PREFIX} \
		--includedir=${LOCALBASE}/include/ \
		--libdir=${LOCALBASE}/lib \
		--with-x --without-linux-vga \
		--with-gd=${LOCALBASE}/lib \
		--with-gnu-readline --with-lasergnu --with-png

pre-configure:
	$(SED) -e "s%@CPPFLAGS@%-I$(LOCALBASE)/include -I$(X11BASE)/include%" \
	< $(WRKSRC)/Makefile.in > $(WRKDIR)/tmp-makefile.in
	$(CP) $(WRKDIR)/tmp-makefile.in $(WRKSRC)/Makefile.in


MAN1=		gnuplot.1 lasergnu.1

.include <bsd.port.mk>