2003-01-01 16:04:51 +01:00
|
|
|
# ex:ts=8 -*-mode: makefile-*-
|
|
|
|
#
|
|
|
|
# New ports collection makefile for: longplayer
|
|
|
|
# Date created: 2002-12-16
|
|
|
|
# Whom: Alan Eldridge <alane@geeksrus.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lplayer
|
2005-04-29 17:06:08 +02:00
|
|
|
PORTVERSION= 1.01
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2003-01-01 16:04:51 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-04-05 22:46:04 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2003-01-01 16:04:51 +01:00
|
|
|
|
2007-03-05 01:15:24 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A QT program to queue lots of MP3s for random XMMS play
|
2003-01-01 16:04:51 +01:00
|
|
|
|
2005-04-05 22:46:04 +02:00
|
|
|
LIB_DEPENDS= db_cxx-4.3.0:${PORTSDIR}/databases/db43 \
|
|
|
|
xmms.4:${PORTSDIR}/multimedia/xmms
|
2003-01-15 18:48:49 +01:00
|
|
|
|
2005-04-05 22:46:04 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-07-01 14:06:37 +02:00
|
|
|
|
2003-01-01 16:04:51 +01:00
|
|
|
USE_QT_VER= 3
|
2003-07-01 14:06:37 +02:00
|
|
|
USE_GMAKE= yes
|
2003-10-23 15:28:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-12-10 16:14:34 +01:00
|
|
|
CONFIGURE_ARGS= --with-xmms-prefix=${X11BASE} --with-xinerama \
|
|
|
|
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
2003-10-23 15:28:41 +02:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2003-01-01 16:04:51 +01:00
|
|
|
|
2005-04-05 22:46:04 +02:00
|
|
|
QTCPPFLAGS+= -I${LOCALBASE}/include/db43
|
|
|
|
|
2003-10-23 15:28:41 +02:00
|
|
|
post-patch:
|
2005-04-05 22:46:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-O2 ||g ; \
|
|
|
|
s|-pedantic ||g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|-ldb_cxx|-ldb_cxx-4.3|g' ${WRKSRC}/configure
|
2003-01-01 16:04:51 +01:00
|
|
|
|
2004-05-17 20:37:03 +02:00
|
|
|
post-install:
|
|
|
|
@${LN} -sf lplayer ${PREFIX}/bin/longplayer
|
|
|
|
|
2003-10-23 15:28:41 +02:00
|
|
|
.include <bsd.port.mk>
|