1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/multimedia/libquvi-scripts09/Makefile
Mathieu Arnold beb1c1fe19 USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored.  A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.

USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.

PR:		245038
Submitted by:	andrew tao11 riddles org uk
Reviewed by:	mat, kevans, russ haley gmail com
Approved by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D16494
2020-04-14 15:49:36 +00:00

37 lines
1.0 KiB
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= libquvi-scripts
PORTVERSION= 0.9.20131130
PORTREVISION= 1
CATEGORIES= multimedia devel
MASTER_SITES= SF/quvi/${PORTVERSION}/${PORTNAME}/ \
LOCAL/sunpoet
PKGNAMESUFFIX= 09
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Embedded lua scripts for libquvi and utility scripts
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}bitop>=1.0.1:devel/lua-bitop@${LUA_FLAVOR} \
${LUA_PKGNAMEPREFIX}luaexpat>=1.2.0:textproc/luaexpat@${LUA_FLAVOR} \
${LUA_PKGNAMEPREFIX}json>=1.1.1:converters/lua-json@${LUA_FLAVOR} \
${LUA_PKGNAMEPREFIX}luasocket>=2.0.2:net/luasocket@${LUA_FLAVOR}
OPTIONS_DEFINE= NSFW
OPTIONS_SUB= yes
NSFW_DESC= Enable adult website support
CONFIGURE_ARGS= --program-suffix=${PKGNAMESUFFIX}
GNU_CONFIGURE= yes
NO_ARCH= yes
USES= lua:run pathfix tar:xz
PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX} PORTVERSION=${PORTVERSION} QUVIVERSION=${PORTVERSION:R}
NSFW_CONFIGURE_WITH= nsfw
.include <bsd.port.mk>