blob: 41b116397c35c8fe3929084123c211fff5225014 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: quvi
# Date created: 2 February 2010
# Whom: Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#
PORTNAME= quvi
PORTVERSION= 0.2.14
CATEGORIES= multimedia devel
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R}/ \
GOOGLE_CODE
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Query video library for Youtube like websites
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
OPTIONS= NSFW "Enable adult website support" off
LICENSE= GPLv3
CONFIGURE_ARGS= --enable-broken --enable-examples
CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}'
CPPFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
USE_ICONV= yes
USE_LDCONFIG= yes
USE_LUA= yes
USE_XZ= yes
MAN1= quvi.1
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+=--without-doc
.endif
.include <bsd.port.options.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.mk>
|