blob: 185b4ce33a1920b18c582983e7240518de255770 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: plplot
# Date created: 03 Oct 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= plplot
PORTVERSION= 4.99j
CATEGORIES= math
MASTER_SITES= ftp://ftp.uniovi.es/pub6/graphics/plotting/ \
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/
DISTNAME= plplot4p99j
MAINTAINER= ports@FreeBSD.org
USE_XLIB= yes
INSTALLS_SHLIBS= 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
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
.include <bsd.port.post.mk>
|