summaryrefslogtreecommitdiff
path: root/parallel/openpbs/Makefile
blob: 97637cba3fddf6a2f9f1be5d3c788370c87599cb (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
# $NetBSD: Makefile,v 1.3 2003/12/03 22:14:46 kristerw Exp $
#

DISTNAME=		OpenPBS_2_3_16
PKGNAME=		openpbs-2.3.16
CATEGORIES=		parallel sysutils
MASTER_SITES=		http://www.openpbs.org/UserArea/Download/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.openpbs.org/
COMMENT=		Generic network queueing system

INTERACTIVE_STAGE=	fetch

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}
USE_X11=		yes
USE_BUILDLINK2=		yes

REPLACE_INTERPRETER+=	tcl
_REPLACE.tcl.old=	.*/bin/pbs_tclsh
_REPLACE.tcl.new=	${PREFIX}/bin/pbs_tclsh
_REPLACE_FILES.tcl+=	src/gui/buildindex.src
_REPLACE_FILES.tcl+=	src/tools/xpbsmon/buildindex.src

REPLACE_INTERPRETER+=	tk
_REPLACE.tk.old=	.*/bin/wish
_REPLACE.tk.new=	${PREFIX}/bin/wish
_REPLACE_FILES.tk+=	src/gui/xpbs.src

REPLACE_INTERPRETER+=	tk2
_REPLACE.tk2.old=	.*/bin/pbs_wish
_REPLACE.tk2.new=	${PREFIX}/bin/pbs_wish
_REPLACE_FILES.tk2+=	src/tools/xpbsmon/xpbsmon.src

_CONFIGURE_POSTREQ+=     replace-interpreter

.include "../../x11/tk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"