freebsd-ports/polish/qnapi/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

38 lines
897 B
Makefile

# Created by: Pawel Pekala <c0rn@o2.pl>
# $FreeBSD$
PORTNAME= qnapi
PORTVERSION= 0.2.3
PORTREVISION= 1
CATEGORIES= polish multimedia
MAINTAINER= pawel@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 pkgconfig qmake
USE_GL= gl
USE_QT5= 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>