aboutsummaryrefslogtreecommitdiff
path: root/sysutils/djmount/Makefile
blob: 5bd801c3afd4866b9f0b9f68d8c330d7c5bc60d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	djmount
# Date created:		15 October 2008
# Whom:			Eric L. Chen <d9364104@mail.nchu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	djmount
PORTVERSION=	0.71
CATEGORIES=	sysutils
MASTER_SITES=	SF

MAINTAINER=	d9364104@mail.nchu.edu.tw
COMMENT=	Mount UPnP A/V Media

LIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
		upnp.3:${PORTSDIR}/devel/upnp
BUILD_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv
RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod

PLIST_FILES=	bin/${PORTNAME}
GNU_CONFIGURE=	yes
USE_GNOME=	pkgconfig
CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
		--with-fuse-prefix=${LOCALBASE} \
		--with-external-libupnp --with-libupnp-prefix=${LOCALBASE}

PORTDOCS=	AUTHORS ChangeLog NEWS README TODO

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=		depends on kernel module that requires FreeBSD 6 or later
.endif

post-install:
.ifndef NOPORTDOCS
	@${INSTALL} -d ${DOCSDIR}/
	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.post.mk>