summaryrefslogtreecommitdiffstats
path: root/math/tablix/Makefile
blob: 38fa35901b56dde7d1cb48a7b74b723aa62be0d7 (plain)
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
41
42
# New ports collection makefile for:		tablix
# Date created:					17 October 2005
# Whom:						amir.husaini@gmail.com
#
# $FreeBSD$
#

PORTNAME=	tablix2
PORTVERSION=	0.3.5
CATEGORIES=	math www
MASTER_SITES=	http://www.tablix.org/releases/stable/ \
		http://my.samba.org/

MAINTAINER=	amir.husaini@gmail.com
COMMENT=	Free software for solving timetabling problems

BUILD_DEPENDS=	pvm:${PORTSDIR}/net/pvm
RUN_DEPENDS=	pvm:${PORTSDIR}/net/pvm

PVM_ROOT=	${PREFIX}/lib/pvm

USE_GMAKE=	yes
USE_GNOME=	libxml2
GNU_CONFIGURE=	yes
USE_GETTEXT=	yes

CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=		--mandir=${PREFIX}/man

CONFIGURE_ENV=		CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib \
			LDFLAGS=-L${PREFIX}/lib \
			PVM_ROOT=${PVM_ROOT} PVM_LIB=${PREFIX}/lib

MAN1=	tablix2.1 tablix2_benchmark.1 tablix2_kernel.1 tablix2_output.1 \
	tablix2_plot.1 tablix2_test.1

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2 ${PVM_ROOT}/bin/FREEBSD/tablix2
	${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2_kernel ${PVM_ROOT}/bin/FREEBSD/tablix2_kernel
	${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2_output ${PVM_ROOT}/bin/FREEBSD/tablix2_output

.include <bsd.port.mk>
OpenPOWER on IntegriCloud