Lines 2-14
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= slurm |
4 |
PORTNAME= slurm |
5 |
PORTVERSION= 14.11.6 |
5 |
PORTVERSION= 14.11.8 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= http://www.schedmd.com/download/latest/ \ |
7 |
MASTER_SITES= http://www.schedmd.com/download/latest/ \ |
9 |
http://www.schedmd.com/download/archive/ \ |
8 |
http://www.schedmd.com/download/archive/ \ |
10 |
http://www.schedmd.com/download/development/ |
9 |
http://www.schedmd.com/download/development/ |
11 |
PKGNAMESUFFIX= -hpc |
10 |
PKGNAMESUFFIX= -wlm |
12 |
|
11 |
|
13 |
MAINTAINER= jrm@ftfl.ca |
12 |
MAINTAINER= jrm@ftfl.ca |
14 |
COMMENT= Simple Linux Utility for Resource Management |
13 |
COMMENT= Simple Linux Utility for Resource Management |
Lines 29-35
Link Here
|
29 |
USE_RC_SUBR= slurmctld slurmd |
28 |
USE_RC_SUBR= slurmctld slurmd |
30 |
PLIST_SUB= PORTVERSION="${PORTVERSION}" |
29 |
PLIST_SUB= PORTVERSION="${PORTVERSION}" |
31 |
INSTALL_TARGET= install-strip |
30 |
INSTALL_TARGET= install-strip |
32 |
USES= gmake libtool perl5 python tar:bz2 |
31 |
USES= gmake libtool perl5 pkgconfig python tar:bz2 |
33 |
GTK2_USE= GNOME=glib20,gtk20 |
32 |
GTK2_USE= GNOME=glib20,gtk20 |
34 |
MYSQL_USE= MYSQL=yes |
33 |
MYSQL_USE= MYSQL=yes |
35 |
CFLAGS+= -I${WRKSRC}/slurm -I${LOCALBASE}/include |
34 |
CFLAGS+= -I${WRKSRC}/slurm -I${LOCALBASE}/include |
Lines 46-56
Link Here
|
46 |
# #include <pty.h> with appropriate headers will therefore not work, so instead |
45 |
# #include <pty.h> with appropriate headers will therefore not work, so instead |
47 |
# add a pty.h for the build. |
46 |
# add a pty.h for the build. |
48 |
post-patch: |
47 |
post-patch: |
49 |
.if ! ${PORT_OPTIONS:MGTK2} |
|
|
50 |
${REINPLACE_CMD} \ |
51 |
-e 's|min_gtk_version=2.7.1|min_gtk_version=200.7.1|g' \ |
52 |
${WRKSRC}/configure |
53 |
.endif |
54 |
${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm |
48 |
${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm |
55 |
${REINPLACE_CMD} \ |
49 |
${REINPLACE_CMD} \ |
56 |
-e 's|/usr/bin/env python|${PYTHON_CMD}|g' \ |
50 |
-e 's|/usr/bin/env python|${PYTHON_CMD}|g' \ |