1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/polish/qnapi/Makefile
Niclas Zeising 823770dbfb Add USES=xorg USES=gl, ports categories p
Add USES=xorg and USES=gl to ports in categories starting with 'p'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 20:47:26 +00:00

39 lines
905 B
Makefile

# Created by: Pawel Pekala <c0rn@o2.pl>
# $FreeBSD$
PORTNAME= qnapi
PORTVERSION= 0.2.3
PORTREVISION= 7
CATEGORIES= polish multimedia
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt5 based subtitle downloader
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
BUILD_DEPENDS= qt-maybe>0:devel/qt-maybe \
libmaia>0:net/libmaia
LIB_DEPENDS= libmediainfo.so:multimedia/libmediainfo \
libzen.so:multimedia/libzen
RUN_DEPENDS= 7z:archivers/p7zip
USE_GITHUB= yes
USES= compiler:c++11-lib gl pkgconfig qmake qt:5
USE_GL= gl
USE_QT= buildtools_build core gui network widgets xml
CXXFLAGS+= -I${LOCALBASE}/include/maia
post-patch:
@${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|' \
${WRKSRC}/qnapi.pro
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qnapi
(cd ${WRKSRC}/doc && ${INSTALL_DATA} qnapi-download.desktop \
qnapi-scan.desktop ${STAGEDIR}${DESKTOPDIR})
.include <bsd.port.mk>