1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/multimedia/clipgrab/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= clipgrab
PORTVERSION= 3.7.2
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= https://download.clipgrab.org/
PATCH_SITES= https://gitlab.com/kikadf/clipgrab-qt5/raw/patches/patches/
PATCHFILES= clipgrab-qt5-${PORTVERSION}.patch:-p1
MAINTAINER= kikadf.01@gmail.com
COMMENT= Program to download videos from YouTube and etc
LICENSE= GPLv3
USES= compiler:c++11-lang qmake qt:5
USE_QT= core dbus gui network webkit widgets xml buildtools_build
LDFLAGS+= -Wl,--as-needed # cf. PR 224488
PLIST_FILES= bin/${PORTNAME} \
${DATADIR}/icon.png \
${DATADIR}/logo.png \
${DATADIR}/paypal-logo.png \
${DATADIR}/splash.png
DESKTOP_ENTRIES="Clipgrab" "Download and convert videos from YouTube and etc" \
"${DATADIR}/icon.png" "${PORTNAME}" \
"AudioVideo;" true
QMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME}.pro
post-patch:
@${REINPLACE_CMD} -e 's,img/,share/${PORTNAME}/,g' ${WRKSRC}/*.cpp
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>