# Created by: Gvozdikov Veniamin # $FreeBSD$ PORTNAME= cueplayer PORTVERSION= 0.28 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-src MAINTAINER= ports@FreeBSD.org COMMENT= CUE player LICENSE= GPLv3 LIB_DEPENDS= libnotify.so:devel/libnotify USES= pkgconfig qmake qt:4 USE_QT= gui xml uic_build moc_build rcc_build network USE_GSTREAMER= flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack USE_XORG= x11 DESKTOP_ENTRIES="Cueplayer" "Lightweight media player based on Qt and Gstreamer" \ "${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \ "AudioVideo;Audio;Video;" true post-patch: @${REINPLACE_CMD} -e 's,/usr/share/cueplayer/,${DATADIR}/,g' \ ${WRKSRC}/main.cpp ${WRKSRC}/${PORTNAME}.pro @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX},g' \ ${WRKSRC}/${PORTNAME}.pro @${ECHO_CMD} 'PKGCONFIG += x11' >> ${WRKSRC}/${PORTNAME}.pro post-install: ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${DATADIR} .include