mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
5898d7df5c
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
42 lines
1016 B
Makefile
42 lines
1016 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clipgrab
|
|
PORTVERSION= 3.2.0.10
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://clipgrab.de/download/ \
|
|
http://vanbittern.org/
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= Program to download videos from YouTube and etc
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= qmake
|
|
USE_BZIP2= yes
|
|
USE_QT4= gui xml uic_build moc_build \
|
|
rcc_build network dbus webkit
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
%%DATADIR%%/icon.png \
|
|
%%DATADIR%%/logo.png \
|
|
%%DATADIR%%/paypal-logo.png \
|
|
%%DATADIR%%/paypal.png \
|
|
%%DATADIR%%/splash.png
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
DESKTOP_ENTRIES="Clipgrab" "Download and convert videos from YouTube and etc" \
|
|
"${DATADIR}/icon.png" "${PORTNAME}" \
|
|
"AudioVideo;" true
|
|
|
|
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>
|