Makefile 1.55 KB
Newer Older
1 2 3
# New ports collection makefile for: emulab-fs
#

4
.include "../emulab-boss/Makefile.emulab"
5

6 7 8
# XXX deal with out-of-sync-edness of original boss/ops ports
.if ${EMULAB_PORTVERSION} == "1.7"
EMULAB_PORTVERSION=	1.4
Mike Hibler's avatar
Mike Hibler committed
9
.endif
10 11 12

PORTNAME=	emulab-fs
PORTVERSION=	${EMULAB_PORTVERSION}
13 14 15 16
CATEGORIES=	misc
MASTER_SITES=	#none
DISTFILES=	#none
EXTRACT_ONLY=	#none
17
COMMENT=	"Meta-port for an Emulab fs node"
18

19
MAINTAINER=	testbed-ops@flux.utah.edu
20

21 22 23 24
#
# We must make sure PERL is built with this.
#
.MAKEFLAGS+=	ENABLE_SUIDPERL=yes
25 26 27
.if ${PORTVERSION} == "5.0"
.MAKEFLAGS+=	PERL_VERSION=5.12.4 PERL_VER=5.12.4 PERL_ARCH=mach
.elif (${PORTVERSION} == "3.1" || ${PORTVERSION} == "4.0")
28
.MAKEFLAGS+=	PERL_VERSION=5.10.1 PERL_VER=5.10.1 PERL_ARCH=mach
29
.elif ${PORTVERSION} == "3.0"
30 31
.MAKEFLAGS+=	PERL_VERSION=5.10.0 PERL_VER=5.10.0 PERL_ARCH=mach
.endif
32 33 34 35

#
# For samba, so that it doesn't suck in everything under the sun
#
36
.MAKEFLAGS+=	-DWITHOUT_WINBIND -DWITHOUT_LDAP -DWITHOUT_POPT -DWITHOUT_CUPS -DWITHOUT_IPV6
37 38

#
39 40
# This prevents any ports from trying to run interactively - some, like the
# net-snmp port, ask silly questions without this option.
41 42 43
#
.MAKEFLAGS+=	-DBATCH

44 45 46
# We need the BUILD_DEPENDS above to wind up in the dependency list
RUN_DEPENDS:= ${BUILD_DEPENDS}

47 48
RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake \
	sudo:${PORTSDIR}/security/sudo \
49
	rsync:${PORTSDIR}/net/rsync \
50

51
.if (${PORTVERSION} == "4.0" || ${PORTVERSION} == "5.0")
52 53 54 55
RUN_DEPENDS+= \
	smbd:${PORTSDIR}/net/samba36
.else
RUN_DEPENDS+= \
56
	smbd:${PORTSDIR}/net/samba3
57
.endif
58

59 60 61 62 63
NO_BUILD=	yes

do-install:	# empty

.include <bsd.port.mk>