freebsd-ports/polish/qnapi/Makefile
Pawel Pekala 1bae1b7853 Update to version 0.2.0
Changelog:
- quiet batch mode (not available on OSX) - #13
- bugfixes in Napisy24 engine - #23
- icons placed at directories according to their sizes - #24
- HiDPI display awareness (OSX) - #27
- support for paths containing special characters (Windows) - #28
- bugfixed SRT conversion adding empty lines to resulting file (Windows) - #29
- application self-closing in batch mode (OSX) - #31
- added version information to .exe file (Windows) - #32
- bugfixes in file encoding detection (UTF-8 with BOM amongst others) - #34
- preserving original file encoding during subtitle format conversion
- bugfixed backup language support - #36
2015-11-24 20:34:22 +00:00

33 lines
752 B
Makefile

# Created by: Pawel Pekala <c0rn@o2.pl>
# $FreeBSD$
PORTNAME= qnapi
PORTVERSION= 0.2.0
CATEGORIES= polish multimedia
MAINTAINER= pawel@FreeBSD.org
COMMENT= Qt5 based subtitle downloader
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
BUILD_DEPENDS= libmaia>0:${PORTSDIR}/net/libmaia
RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
USE_GITHUB= yes
USES= compiler:c++11-lib qmake
USE_QT5= buildtools_build gui network widgets xml
CXXFLAGS+= -I${LOCALBASE}/include/maia
QMAKE_ARGS= LIBS=-lmaia
post-patch:
@${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|; /doc \\/d' \
${WRKSRC}/qnapi.pro
post-install:
(cd ${WRKSRC}/doc && ${INSTALL_DATA} qnapi-download.desktop \
qnapi-scan.desktop ${STAGEDIR}${DESKTOPDIR})
.include <bsd.port.mk>