aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-gstfs/Makefile
blob: 5c831be6010aabcfa8b9bfd20c46dd96454f694c (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
# New ports collection makefile for:    fusefs-gstfs
# Date created:     2008-12-26
# Whom:         Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#

PORTNAME=   gstfs
PORTVERSION=    0.1
CATEGORIES= sysutils
MASTER_SITES=   http://bobcopeland.com/gstfs/releases/ \
        http://mirror.mcx2.org/
PKGNAMEPREFIX=  fusefs-

MAINTAINER= adox@mcx2.org
COMMENT=    On-demand, transcoding filesystem (using GStreamer pipeline)

RUN_DEPENDS=    ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
BUILD_DEPENDS=  ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs

USE_GNOME=  pkgconfig
USE_GSTREAMER=  yes

PLIST_FILES=    bin/${PORTNAME}

PORTDOCS=   README
PORTEXAMPLES=   ogg2mp3.sh mp32wav.sh

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>