be1a30be94
valid: * Two of the sites (dino.ph.utexas.edu and ftp.u-aizu.ac.jp) do not seem to be accepting connections. * The DISTFILE at ftp.che.utexas.edu is six bytes smaller. The archive is valid and no files have changed (diff -urN shows nothing), but the checksum is subsequently different.
37 lines
963 B
Makefile
37 lines
963 B
Makefile
# New ports collection makefile for: plplot
|
|
# Version required: 4p99j
|
|
# Date created: 03 Oct 1997
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $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/ \
|
|
ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
|
|
ftp://ftp.che.utexas.edu/pub/graphics/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
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
|
|
|
|
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
|
|
|
|
.include <bsd.port.post.mk>
|