blob: 8c2447a743c78e437dced07ed7a52ec51d687378 (
plain)
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
|
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= libquvi
PORTVERSION= 0.4.1
PORTREVISION= 5
CATEGORIES= multimedia devel
MASTER_SITES= SF/quvi/${PORTVERSION:R}/${PORTNAME}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Cross-platform library for parsing flash media stream URLs
LICENSE= LGPL21+
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
BUILD_DEPENDS= libquvi-scripts>=0.4.0:multimedia/libquvi-scripts
LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS LUAJIT
LUAJIT_DESC= Use LuaJIT instead of Lua
PORTSCOUT= limit:^0\.4\.
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= iconv libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
PORTDOCS= *
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_USES_OFF= lua
post-patch-LUAJIT-off:
@${REINPLACE_CMD} 's|lua-5.1|lua-${LUA_VER}|g' ${WRKSRC}/configure
post-patch-LUAJIT-on:
@${REINPLACE_CMD} 's|lua >= 5.1|luajit|g' ${WRKSRC}/configure
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/doc/nd/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|