- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
34 lines
926 B
Makefile
34 lines
926 B
Makefile
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cueplayer
|
|
PORTVERSION= 0.28
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= vg@FreeBSD.org
|
|
COMMENT= CUE player
|
|
|
|
LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
|
|
|
|
USES= pkgconfig qmake
|
|
USE_QT4= gui xml uic_build moc_build rcc_build network
|
|
USE_GSTREAMER= flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack
|
|
|
|
LICENSE= GPLv3
|
|
|
|
DESKTOP_ENTRIES="Cueplayer" "Lightweight media player based on Qt and Gstreamer" \
|
|
"${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \
|
|
"AudioVideo;Audio;Video;" true
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/cueplayer/,${DATADIR}/,g' \
|
|
main.cpp ${PORTNAME}.pro
|
|
${REINPLACE_CMD} -e 's,/usr/share,${PREFIX},g' \
|
|
${WRKSRC}/${PORTNAME}.pro
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|