summaryrefslogtreecommitdiff
path: root/filesystems/fuse-gstfs/Makefile
blob: c68472294e846894ae3a089731e8c6af4aa6f3ff (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
# $NetBSD: Makefile,v 1.9 2017/08/01 14:58:57 wiz Exp $
#

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

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

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"