aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/plotutils/Makefile
blob: 18a68053abd34599e654a948a3753ee46c15e9fc (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
# New ports collection makefile for:    plotutils
# Date created:     19 June 1998
# Whom:         Chuck Robey (chuckr)
#
# $FreeBSD$
#

PORTNAME=   plotutils
PORTVERSION=    2.4.1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A plotting library and toolkit

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

USE_MOTIF=  yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -fpermissive" \
        MOTIFLIB="${MOTIFLIB}" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-libplotter --enable-libxmi --with-motif
INSTALLS_SHLIB= yes

MAN1=       ode.1 plot.1 plotfont.1 spline.1 tek2plot.1

INFO=   libxmi plotutils

pre-patch:
    @${PERL} -pi -e 's|-lXm |\$$\{MOTIFLIB\} |g' ${WRKSRC}/configure

.include <bsd.port.mk>