aboutsummaryrefslogtreecommitdiff
path: root/math/slgrace/Makefile
blob: 896ef0e9a12259167e41b1edea3a7483a7d97f60 (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
# $FreeBSD$

PORTNAME=	slgrace
PORTVERSION=	0.2.2
PORTREVISION=	7
CATEGORIES=	math devel
MASTER_SITES=	ftp://space.mit.edu/pub/davis/slang/v${SLANG_VER}/modules/grace/ \
		ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${SLANG_VER}/modules/grace/ \
		LOCAL/garga/slgrace

MAINTAINER=	garga@FreeBSD.org
COMMENT=	SLang module to plot graphs with grace

LICENSE=	GPLv2

LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
RUN_DEPENDS=	grace:${PORTSDIR}/math/grace

OPTIONS_DEFINE=	DOCS

SLANG_VER=	2.1

GNU_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=	yes
PLIST_SUB=	VERSION=${PORTVERSION}

post-patch:
	@${REINPLACE_CMD} -e 's, install_docfiles,,' \
			  -e '/MKINSDIR.*DEST_DOC_FILES_INSTALL_DIR/d' \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>