1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/multimedia/minitube/Makefile
Max Brazhnikov 0541acd5bf - Clean up after conversion to USES=qmake
- Use options helpels
2013-11-26 12:58:55 +00:00

38 lines
836 B
Makefile

# $FreeBSD$
PORTNAME= minitube
PORTVERSION= 2.0
CATEGORIES= multimedia www
MASTER_SITES= http://flavio.tordini.org/files/minitube/
MAINTAINER= makc@FreeBSD.org
COMMENT= TV-like client for YouTube
USE_QT4= gui network xml dbus phonon phonon-gst \
moc_build rcc_build imageformats_run
USE_GSTREAMER= ffmpeg
USES= qmake
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE}
STRIP_FILES= bin/minitube
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT4=linguist_build
.include <bsd.port.options.mk>
pre-configure:
${REINPLACE_CMD} -e 's,$$$$PKGDATADIR,${DATADIR},g' ${WRKSRC}/minitube.pro
.if !${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
.endif
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
.include <bsd.port.mk>