Makefile 1.89 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} == "6.0"
.MAKEFLAGS+=	PERL_VERSION=5.14.4 PERL_VER=5.14 PERL_ARCH=mach
.elif ${PORTVERSION} == "5.1"
28 29
.MAKEFLAGS+=	PERL_VERSION=5.12.5 PERL_VER=5.12 PERL_ARCH=mach
.elif ${PORTVERSION} == "5.0"
30 31
.MAKEFLAGS+=	PERL_VERSION=5.12.4 PERL_VER=5.12.4 PERL_ARCH=mach
.elif (${PORTVERSION} == "3.1" || ${PORTVERSION} == "4.0")
32
.MAKEFLAGS+=	PERL_VERSION=5.10.1 PERL_VER=5.10.1 PERL_ARCH=mach
33
.elif ${PORTVERSION} == "3.0"
34 35
.MAKEFLAGS+=	PERL_VERSION=5.10.0 PERL_VER=5.10.0 PERL_ARCH=mach
.endif
36 37 38 39

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

#
43 44
# This prevents any ports from trying to run interactively - some, like the
# net-snmp port, ask silly questions without this option.
45 46 47
#
.MAKEFLAGS+=	-DBATCH

48 49 50 51 52
#
# We do this here because we do this for emulab-boss.
#
.MAKEFLAGS+=	WITHOUT_LATEX=yes

53 54 55
# We need the BUILD_DEPENDS above to wind up in the dependency list
RUN_DEPENDS:= ${BUILD_DEPENDS}

56 57
RUN_DEPENDS+=	\
	gmake:${PORTSDIR}/devel/gmake \
58
	sudo:${PORTSDIR}/security/sudo \
59
	rsync:${PORTSDIR}/net/rsync \
60

61
.if (${PORTVERSION} == "4.0" || ${PORTVERSION} == "5.0" || \
62
     ${PORTVERSION} == "5.1" || ${PORTVERSION} == "6.0")
63 64 65 66
RUN_DEPENDS+= \
	smbd:${PORTSDIR}/net/samba36
.else
RUN_DEPENDS+= \
67
	smbd:${PORTSDIR}/net/samba3
68
.endif
69

70 71 72 73
NO_BUILD=	yes

do-install:	# empty

74
NO_STAGE=	yes
75
.include <bsd.port.mk>