summaryrefslogtreecommitdiff
path: root/filesystems/fuse-gstfs/Makefile
blob: 7ca39d4f14d1d107cc7a29f7555a2ca3ef02d0ab (plain)
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
# $NetBSD: Makefile,v 1.3 2011/04/22 13:43:31 obache Exp $
#

DISTNAME=	gstfs-0.1
PKGNAME=	fuse-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	filesystems
MASTER_SITES=	http://bobcopeland.com/gstfs/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://bobcopeland.com/gstfs/
COMMENT=	On-demand, transcoding filesystem (using GStreamer pipeline)

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		pkg-config gmake

DOCDIR=			${PREFIX}/share/doc/${PKGBASE}
EGDIR=			${PREFIX}/share/examples/${PKGBASE}
PTHREAD_AUTO_VARS=	yes
REPLACE_SH=		*.sh
###
### XXX pick up the FUSE pkg-config override hook
###
do-configure:
	@${DO_NADA}

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${EGDIR}
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gstfs ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/ogg2mp3.sh ${DESTDIR}${EGDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/mp32wav.sh ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}

.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"