aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libquvi09/Makefile
blob: 968265ceb096e48700e7035d842e9ce96e057c6f (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libquvi
PORTVERSION=    0.9.4
PORTREVISION=   2
CATEGORIES= multimedia devel
MASTER_SITES=   SF/quvi/${PORTVERSION:R}/${PORTNAME}/
PKGNAMESUFFIX=  09

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Cross-platform library for parsing flash media stream URLs

LICENSE=    AGPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  libquvi-scripts09>=0.9:${PORTSDIR}/multimedia/libquvi-scripts09
LIB_DEPENDS=    libcurl.so:${PORTSDIR}/ftp/curl \
        libproxy.so:${PORTSDIR}/net/libproxy \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS:=   ${BUILD_DEPENDS}

OPTIONS_DEFINE= DOCS

CONFIGURE_ARGS= --program-suffix=${PKGNAMESUFFIX}
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_GNOME=  glib20
USES=       iconv libtool lua pathfix pkgconfig tar:xz

PLIST_SUB=  PKGNAMESUFFIX=${PKGNAMESUFFIX} PORTVERSION=${PORTVERSION} QUVIVERSION=${PORTVERSION:R}

post-patch:
    @${REINPLACE_CMD} 's/lua-5.1/lua-${LUA_VER}/g' ${WRKSRC}/configure

.include <bsd.port.mk>