Makefile 1007 Bytes
Newer Older
1 2 3 4 5
# New ports collection makefile for: emulab-fs
#

# Need the major version number to figure out to do.
OSMAJOR!= /usr/bin/uname -r | /usr/bin/sed -e 's/\..*//'
6 7

PORTNAME=	emulab-fs
Mike Hibler's avatar
Mike Hibler committed
8
.if ${OSMAJOR} >= 6
9 10
PORTVERSION=	2.0
.else
11
PORTVERSION=	1.4
12
.endif
13 14 15 16 17 18 19 20 21 22 23
CATEGORIES=	misc
MASTER_SITES=	#none
DISTFILES=	#none
EXTRACT_ONLY=	#none
COMMENT=	"Meta-port for an emulab fs node"

MAINTAINER=	hibler@cs.utah.edu

#
# For samba, so that it doesn't suck in everything under the sun
#
24 25 26 27 28 29
.MAKEFLAGS+=	-DWITHOUT_WINBIND -DWITHOUT_LDAP -DWITHOUT_POPT -DWITHOUT_CUPS

#
# We must make sure PERL is built with this.
#
.MAKEFLAGS+=	ENABLE_SUIDPERL=yes
30 31 32 33 34 35 36 37 38

#
# This prevents any ports from trying to run interactively - some, ask silly
# questions without this option.
#
.MAKEFLAGS+=	-DBATCH

RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake \
	sudo:${PORTSDIR}/security/sudo \
Mike Hibler's avatar
Mike Hibler committed
39
	rsync:${PORTSDIR}/net/rsync
40

Mike Hibler's avatar
Mike Hibler committed
41 42 43 44
.if ${OSMAJOR} >= 6
.else
RUN_DEPENDS+= smbd:${PORTSDIR}/net/samba3
.endif
45 46 47 48 49 50

NO_BUILD=	yes

do-install:	# empty

.include <bsd.port.mk>