1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/flacon/Makefile
2017-11-19 11:37:26 +00:00

35 lines
862 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= flacon
PORTVERSION= 3.1.1
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= audio
MAINTAINER= danfe@FreeBSD.org
COMMENT= Graphical audio file extractor and encoder
LICENSE= LGPL21
LIB_DEPENDS= libuchardet.so:textproc/uchardet
USES= cmake desktop-file-utils pkgconfig
USE_GITHUB= yes
OPTIONS_DEFINE= QT5
QT5_DESC= Build against Qt 5 instead of Qt 4
QT5_CMAKE_ON= -DUSE_QT5:BOOL=ON
QT5_CMAKE_OFF= -DUSE_QT4:BOOL=ON
# :ts, would be handy here but is not available in fmake(1)
QT5_USE= QT5=${_QT5_DEPS},${_QT5_BDEPS:C/,/_build&/g:%=_build}
QT5_USE_OFF= QT4=${_QT4_DEPS},${_QT4_BDEPS:C/,/_build&/g:%=_build}
_QT4_DEPS= corelib,gui,network
_QT4_BDEPS= linguisttools,moc,qmake,rcc,uic
_QT5_DEPS= core,gui,network,widgets
_QT5_BDEPS= qmake,buildtools,linguisttools
.include <bsd.port.mk>