Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cueplayer |
8 |
PORTNAME= cueplayer |
9 |
PORTVERSION= 0.21 |
9 |
PORTVERSION= 0.23 |
10 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
11 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
11 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
Lines 16-37
Link Here
|
16 |
|
16 |
|
17 |
USE_QT_VER= 4 |
17 |
USE_QT_VER= 4 |
18 |
QT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build network |
18 |
QT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build network |
19 |
USE_GSTREAMER= yes |
19 |
USE_GSTREAMER= flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack |
|
|
20 |
QMAKE_ARGS= PREFIX=${PREFIX} |
20 |
|
21 |
|
21 |
DESKTOP_ENTRIES="Cueplayer" "Lightweight media player based on Qt and Gstreamer" \ |
22 |
DESKTOP_ENTRIES="Cueplayer" "Lightweight media player based on Qt and Gstreamer" \ |
22 |
"${DATADIR}/knotify.png" "${PORTNAME}" \ |
23 |
"${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \ |
23 |
"AudioVideo;Audio;Video;" ${FALSE} |
24 |
"AudioVideo;Audio;Video;" ${FALSE} |
24 |
|
25 |
|
25 |
post-patch: |
26 |
post-patch: |
26 |
${REINPLACE_CMD} -e 's,images/,share/${PORTNAME}/,g' \ |
27 |
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/cueplayer/,${DATADIR}/,g' \ |
27 |
${WRKSRC}/*.cpp |
28 |
main.cpp ${PORTNAME}.pro |
|
|
29 |
${REINPLACE_CMD} -e 's,/usr/share,${PREFIX},g' \ |
30 |
${WRKSRC}/${PORTNAME}.pro |
28 |
|
31 |
|
29 |
do-configure: |
32 |
do-configure: |
30 |
cd ${WRKSRC} && ${QMAKE} |
33 |
cd ${WRKSRC} && ${QMAKE} ${QMAKE_ARGS} |
31 |
|
34 |
|
32 |
do-install: |
35 |
post-install: |
33 |
${MKDIR} ${DATADIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${DATADIR} |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} |
|
|
35 |
${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR} |
36 |
|
37 |
|
37 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |