aboutsummaryrefslogblamecommitdiff
path: root/multimedia/quvi/Makefile
blob: c9ee573372e1ac8f6550c161840f235c36b44b84 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                         
                     


                                
                                   

                                                             
                                             

                                             
                     
 


                                                           
                   

                                   
                   

                   
 

                                        
 
                                                       
 
                 




                             

                          


                             
     
                                

      
           



                                                                        
 
                           
# New ports collection makefile for:	quvi
# Date created:		2 February 2010
# Whom:			Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	quvi
PORTVERSION=	0.2.8
CATEGORIES=	multimedia devel
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Query video library for Youtube like websites

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
		pcre.0:${PORTSDIR}/devel/pcre

LICENSE=	GPLv3

CONFIGURE_ARGS=	--enable-broken --enable-examples
CONFIGURE_ENV=	CPPFLAGS='${CPPFLAGS} -I${WRKSRC}/include \
		-I${LOCALBASE}/include'
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GNOME=	gnomehack pkgconfig
USE_ICONV=	yes
USE_LDCONFIG=	yes
USE_LUA=	yes

MAN1=		quvi.1
PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"

OPTIONS=	NSFW "Enable adult website support" off

SHLIB_VER=	3

.if defined(NOPORTDOCS)
CONFIGURE_ARGS+=--without-doc
.endif

.include <bsd.port.pre.mk>

.if defined(WITH_NSFW)
CONFIGURE_ARGS+=--enable-nsfw
PLIST_SUB+=	NSFW=""
.else
PLIST_SUB+=	NSFW="@comment "
.endif

post-patch:
.if defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e '/install-data-am:/ s| install-docDATA||' \
		${WRKSRC}/doc/Makefile.in
.endif

.include <bsd.port.post.mk>