aboutsummaryrefslogblamecommitdiff
path: root/sysutils/fusefs-gstfs/Makefile
blob: a2deaaf71f70f5fdb680d23432206267cb0043c7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                             
           


                     
                 




                                                        
                                   

                                                                            


                                 

                             
                              






                                     


                                                            
           
                                                                        


                                       
                                                              


                                           
                                                                                 

                      
# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$

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

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

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

OPTIONS_DEFINE=	DOCS EXAMPLES

USES=		fuse pkgconfig
USE_GSTREAMER=	yes

PLIST_FILES=	bin/${PORTNAME}

PORTDOCS=	README
PORTEXAMPLES=	ogg2mp3.sh mp32wav.sh

post-patch:
	@${REINPLACE_CMD} 's/gcc/$$(CC)/' ${WRKSRC}/Makefile

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

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

do-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>