freebsd-ports/math/gnuplot/Makefile

37 lines
998 B
Makefile
Raw Normal View History

# New ports collection makefile for: gnuplot
# Date created: 19 April 1998
# Whom: chuckr
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 09:20:58 +02:00
PORTNAME= gnuplot
PORTVERSION= 3.7.1
PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= ftp://ftp.gnuplot.vt.edu/pub/gnuplot/
MAINTAINER= chuckr@FreeBSD.org
2001-09-11 05:32:41 +02:00
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
gd.2:${PORTSDIR}/graphics/gd
1998-11-29 13:43:13 +01:00
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/gd"
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
--includedir=${LOCALBASE}/include/ \
--libdir=${LOCALBASE}/lib \
--with-x --without-linux-vga \
--with-gd=${LOCALBASE}/lib \
--with-readline=gnu --with-lasergnu --with-png
post-install:
${MKDIR} ${PREFIX}/share/doc/gnuplot
(cd ${WRKSRC}/demo;for EXAMPLES in ${WRKSRC}/demo/*; do ${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/share/doc/gnuplot;done)
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/gnuplot
MAN1= gnuplot.1 lasergnu.1
.include <bsd.port.mk>