aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/quvi/Makefile
blob: 3cf6b253a885bf37b0825bffc13e9092d701f2b2 (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
# New ports collection makefile for:    quvi
# Date created:     2 February 2010
# Whom:         Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#

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

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

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

USE_LDCONFIG=   yes
SHLIB_VER=  1

MAKE_ENV=   SHLIB_VER="${SHLIB_VER}"
PLIST_SUB=  SHLIB_VER="${SHLIB_VER}"

MAN1=       quvi.1

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  pkgconfig
USE_ICONV=  yes

CONFIGURE_ENV+= CPPFLAGS='${CPPFLAGS} -I${WRKSRC}/include \
        -I${LOCALBASE}/include'

OPTIONS=    SMUT "Enable adult website support" off

.include <bsd.port.pre.mk>

.if defined(WITH_SMUT)
CONFIGURE_ARGS+=--enable-smut
.endif

post-patch:
    @${REINPLACE_CMD} -E -e \
        's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>