blob: ec79c9fba34da93f067be9d9b4ec6e93b702b7aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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
USE_BZIP2= yes
USE_QT4= gui xml qmake_build 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;" false
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,img/,share/${PORTNAME}/,g' \
${WRKSRC}/*.cpp
do-configure:
cd ${WRKSRC} && ${QMAKE}
do-install:
${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.png ${DATADIR}
.include <bsd.port.mk>
|