# $FreeBSD: head/net-p2p/transmission-daemon/Makefile 463262 2018-02-28 21:09:36Z crees $

PKGNAMESUFFIX=	-daemon

MAINTAINER=	crees@FreeBSD.org
COMMENT=	Fast and lightweight daemon BitTorrent client

RUN_DEPENDS=	${GEN_RUN_DEPENDS}

DESCR=		${.CURDIR}/pkg-descr
MASTERDIR=	${.CURDIR}/../transmission-cli
PLIST=		${.CURDIR}/pkg-plist
SLAVEPORT=	daemon
PKGMESSAGE=	${.CURDIR}/pkg-message

USE_RC_SUBR=	transmission
USERS=		transmission
GROUPS=		transmission

EXTRA_CONF_ARGS=--disable-cli \
		--enable-daemon \
		--without-gtk \
		--disable-mac \
		--disable-nls

post-install:
		${MKDIR} ${STAGEDIR}${ETCDIR}/home

.include "${MASTERDIR}/Makefile"
