2003-01-01 15:04:51 +00: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 15:06:08 +00:00
|
|
|
PORTVERSION= 1.01
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 4
|
2003-01-01 15:04:51 +00:00
|
|
|
CATEGORIES= audio
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF
|
2005-04-05 20:46:04 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2003-01-01 15:04:51 +00:00
|
|
|
|
2007-03-05 00:15:24 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A QT program to queue lots of MP3s for random XMMS play
|
2003-01-01 15:04:51 +00:00
|
|
|
|
2005-04-05 20:46:04 +00:00
|
|
|
LIB_DEPENDS= db_cxx-4.3.0:${PORTSDIR}/databases/db43 \
|
|
|
|
xmms.4:${PORTSDIR}/multimedia/xmms
|
2003-01-15 17:48:49 +00:00
|
|
|
|
2005-04-05 20:46:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-07-01 12:06:37 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG= x11 xinerama
|
2003-01-01 15:04:51 +00:00
|
|
|
USE_QT_VER= 3
|
2003-07-01 12:06:37 +00:00
|
|
|
USE_GMAKE= yes
|
2003-10-23 13:28:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CONFIGURE_ARGS= --with-xmms-prefix=${LOCALBASE} --with-xinerama
|
2003-10-23 13:28:41 +00:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2003-01-01 15:04:51 +00:00
|
|
|
|
2005-04-05 20:46:04 +00:00
|
|
|
QTCPPFLAGS+= -I${LOCALBASE}/include/db43
|
|
|
|
|
2003-10-23 13:28:41 +00:00
|
|
|
post-patch:
|
2005-04-05 20:46:04 +00: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 15:04:51 +00:00
|
|
|
|
2004-05-17 18:37:03 +00:00
|
|
|
post-install:
|
|
|
|
@${LN} -sf lplayer ${PREFIX}/bin/longplayer
|
|
|
|
|
2003-10-23 13:28:41 +00:00
|
|
|
.include <bsd.port.mk>
|