freebsd-ports/math/plplot/Makefile

37 lines
963 B
Makefile
Raw Normal View History

# New ports collection makefile for: plplot
# Version required: 4p99j
# Date created: 03 Oct 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 03:23:21 -04:00
# $FreeBSD$
#
DISTNAME= plplot4p99j
PKGNAME= plplot-4.99j
CATEGORIES= math
1999-11-08 08:01:34 -05:00
MASTER_SITES= ftp://dino.ph.utexas.edu/plplot/distrib/alpha/ \
ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
ftp://ftp.che.utexas.edu/pub/graphics/ \
ftp://ftp.uniovi.es/pub6/graphics/plotting/
1999-11-08 08:01:34 -05:00
MAINTAINER= ports@FreeBSD.org
1998-11-28 00:39:01 -05:00
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gcc=yes --with-double=yes
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/*.c
1998-09-27 16:13:16 -04:00
post-install:
.if ${PORTOBJFORMAT} == "elf"
${LN} -sf libplplotdX.so.4 ${PREFIX}/lib/libplplotdX.so
.else
${LN} -sf libplplotdX.so.4.99 ${PREFIX}/lib/libplplotdX.so
.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
1998-09-27 16:13:16 -04:00
.include <bsd.port.post.mk>