1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/multimedia/clipgrab/Makefile
Pawel Pekala 57c3da1b0a - Update to version 3.1.0.2
- Add second mastersite

PR:		ports/160634
Submitted by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
Approved by:	miwi, wen (mentors implicit)
2011-09-14 21:53:01 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: clipgrab
# Date created: 2009-12-06
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#
PORTNAME= clipgrab
PORTVERSION= 3.1.0.2
CATEGORIES= multimedia
MASTER_SITES= http://clipgrab.de/download/ \
http://vanbittern.org/
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Program to download videos from YouTube and etc
LICENSE= GPLv3
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui xml qmake_build uic_build moc_build \
rcc_build network dbus webkit
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/icon.png \
%%DATADIR%%/logo.png \
%%DATADIR%%/logo-gpl.png \
%%DATADIR%%/logo-qt.png \
%%DATADIR%%/splash.png
PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="Clipgrab" "Download and convert videos from YouTube and etc" \
"${DATADIR}/icon.png" "${PORTNAME}" \
"AudioVideo;Audio;Video;" false
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>