ef8eaee757
A big Thank You to the original contributors of these ports: * Alexander Botero-Lowry <alex@foxybanana.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Attila Nagy <bra@fsn.hu> * Chad J. Milios <milios@ccsys.com> * Damian Gerow <dgerow@afflictions.org> * Daniel Morante <daniel@morante.net> * Dave Cottlehuber <dch@skunkwerks.at> * Dereckson <dereckson@gmail.com> * Devin Teske <dteske@FreeBSD.org> * Dmitriy Limonov * Doug Barton <dougb@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Florent Thoumie <flz@xbsd.org> * Ganael LAPLANCHE <ganael.laplanche@martymac.org> * Gea-Suan Lin <gslin@gslin.org> * Holger Lamm <holger@e-gitt.net> * Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org> * Jeremy Faulkner <gldisater@gldis.ca> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Maxim Ignatenko <gelraen.ua@gmail.com> * Michael Johnson <ahze@ahze.net> * Munish Chopra <mchopra@engmail.uwaterloo.ca> * Oleg Alexeenkov <proler@gmail.com> * Oleg R. Muhutdinov <mor@WhiteLuna.com> * Pankov Pavel <pankov_p@mail.ru> * Pav Lucistnik <pav@oook.cz> * Rod Taylor <rbt@zort.on.ca> * Ryan Steinmetz <zi@FreeBSD.org> * Shaun Amott <shaun@FreeBSD.org> * Stas Timokhin <stast@bsdportal.ru> * Sverrir Valgeirsson <e96sv@yahoo.se> and * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Vasil Dimov <vd@FreeBSD.org> * Yashin Dmitry <yashin.dm@gmail.com> * glocke@bsdstammtisch.at With hat: portmgr
32 lines
891 B
Makefile
32 lines
891 B
Makefile
PORTNAME= torrent-file-editor
|
|
PORTVERSION= 0.3.17
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net-p2p
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= GUI tool for creating and editing .torrent files
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
USES= cmake compiler:c++11-lang desktop-file-utils qt:5
|
|
USE_GITHUB= yes
|
|
USE_QT= buildtools_build linguisttools_build qmake_build \
|
|
core gui widgets
|
|
|
|
CMAKE_ARGS= -DQT5_BUILD:BOOL=ON \
|
|
-DENABLE_PCH:BOOL=OFF
|
|
|
|
OPTIONS_DEFINE= DONATION
|
|
OPTIONS_DEFAULT= DONATION
|
|
|
|
DONATION_DESC= Show donation text in the About dialog
|
|
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \
|
|
${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp
|
|
# Avoid conflict with C++20 <version> by adding .txt suffix
|
|
@${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \
|
|
${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake
|
|
|
|
.include <bsd.port.mk>
|