blob: b0703a3ebff70f5a065c75ccf84d700834d16c31 (
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
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= torrent-file-editor
PORTVERSION= 0.3.10
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Qt-based GUI tool for creating and editing .torrent files
LICENSE= GPLv3
BROKEN_powerpc64= fails to compile: -Werror=cpp: No option -Wcpp
USES= cmake desktop-file-utils
_QT4_DEPS= linguisttools_build moc_build qmake_build rcc_build \
uic_build corelib gui
_QT5_DEPS= buildtools_build linguisttools_build qmake_build \
core gui widgets
OPTIONS_DEFINE= DONATION QT5
OPTIONS_DEFAULT= DONATION
DONATION_DESC= Show donation text in the About dialog
QT5_DESC= Build against Qt 5 instead of Qt 4
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
QT5_USE= QT5=${_QT5_DEPS:ts,}
QT5_USE_OFF= QT4=${_QT4_DEPS:ts,}
QT5_LIB_DEPENDS_OFF= libqjson.so:devel/qjson@qt4
QT5_CMAKE_ON= -DQT5_BUILD:BOOL=ON
.include <bsd.port.mk>
|