1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/gnuplot/Makefile

36 lines
982 B
Makefile
Raw Normal View History

# New ports collection makefile for: gnuplot
# Date created: 19 April 1998
# Whom: chuckr
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 07:20:58 +00:00
PORTNAME= gnuplot
PORTVERSION= 3.7.1
CATEGORIES= math graphics
MASTER_SITES= ftp://ftp.gnuplot.vt.edu/pub/gnuplot/
MAINTAINER= chuckr@FreeBSD.org
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
gd.0:${PORTSDIR}/graphics/gd
1998-11-29 12:43:13 +00: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>