Lines 8-26
Link Here
|
8 |
# |
8 |
# |
9 |
|
9 |
|
10 |
PORTNAME= lplayer |
10 |
PORTNAME= lplayer |
11 |
PORTVERSION= 0.99.3 |
11 |
PORTVERSION= 1.0 |
12 |
CATEGORIES= audio |
12 |
CATEGORIES= audio |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
15 |
DISTNAME= ${PORTNAME}-${PORTVERSION}_src |
15 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
16 |
EXTRACT_SUFX= .tgz |
|
|
17 |
|
16 |
|
18 |
MAINTAINER= ports@FreeBSD.org |
17 |
MAINTAINER= ports@FreeBSD.org |
19 |
COMMENT= A QT program to queue lots of MP3s for random XMMS play |
18 |
COMMENT= A QT program to queue lots of MP3s for random XMMS play |
20 |
|
19 |
|
21 |
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms |
20 |
LIB_DEPENDS= db_cxx-4.3.0:${PORTSDIR}/databases/db43 \ |
|
|
21 |
xmms.4:${PORTSDIR}/multimedia/xmms |
22 |
|
22 |
|
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
23 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
24 |
|
24 |
|
25 |
USE_QT_VER= 3 |
25 |
USE_QT_VER= 3 |
26 |
USE_REINPLACE= yes |
26 |
USE_REINPLACE= yes |
Lines 32-42
Link Here
|
32 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
32 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
33 |
AUTOHEADER="${TRUE}" |
33 |
AUTOHEADER="${TRUE}" |
34 |
|
34 |
|
|
|
35 |
QTCPPFLAGS+= -I${LOCALBASE}/include/db43 |
36 |
|
35 |
post-patch: |
37 |
post-patch: |
36 |
@${REINPLACE_CMD} -e 's|-pedantic||g ; \ |
38 |
@${REINPLACE_CMD} -e 's|-O2 ||g ; \ |
37 |
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
39 |
s|-pedantic ||g ; \ |
38 |
@${REINPLACE_CMD} -e \ |
40 |
s|-lpthread|${PTHREAD_LIBS}|g ; \ |
39 |
's|#include "queue.h"||g' ${WRKSRC}/src/lpapp.cpp |
41 |
s|-ldb_cxx|-ldb_cxx-4.3|g' ${WRKSRC}/configure |
40 |
|
42 |
|
41 |
post-install: |
43 |
post-install: |
42 |
@${LN} -sf lplayer ${PREFIX}/bin/longplayer |
44 |
@${LN} -sf lplayer ${PREFIX}/bin/longplayer |