summaryrefslogtreecommitdiff
path: root/math/ploticus/Makefile
blob: ae6b87f747935f057c26e44000acbecec8187cb0 (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
37
38
39
40
# ex:ts=8
# Ports collection makefile for:	ploticus
# Date created:			Jan 23, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ploticus
PORTVERSION=	2.11
CATEGORIES=	math
MASTER_SITES=	http://ploticus.sourceforge.net/download/
DISTNAME=	plsrc${PORTVERSION:S/.//}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Generates plots and graphs from data

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		freetype.9:${PORTSDIR}/print/freetype2

WRKSRC=		${WRKDIR}/${DISTNAME}/src
CONFLICTS=	slffea-* swi-pl-*
USE_XLIB=	yes
ALL_TARGET=	${PORTNAME}

MAN1=	pl.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/../prefabs/* ${DATADIR}
	${INSTALL_MAN} ${WRKSRC}/../man/man1/${MAN1} ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>