1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
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 07:23:21 +00:00
# $FreeBSD$
#
DISTNAME= plplot4p99j
PKGNAME= plplot-4.99j
CATEGORIES= math
MASTER_SITES= ftp://ftp.uniovi.es/pub6/graphics/plotting/ \
ftp://dino.ph.utexas.edu/plplot/distrib/alpha/ \
1999-11-08 13:01:34 +00:00
ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
ftp://ftp.che.utexas.edu/pub/graphics/
1999-11-08 13:01:34 +00:00
MAINTAINER= ports@FreeBSD.org
1998-11-28 05:39:01 +00: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 20:13:16 +00: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 20:13:16 +00:00
.include <bsd.port.post.mk>