2004-06-26 06:07:01 +00:00
|
|
|
# New ports collection makefile for: Mixxx
|
|
|
|
# Date created: 25 Jun 2004
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-10-23 01:41:18 +00:00
|
|
|
PORTNAME= mixxx
|
|
|
|
PORTVERSION= 1.4.2
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 6
|
2005-10-23 01:41:18 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2004-06-26 06:07:01 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2008-04-29 05:11:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-10-23 01:41:18 +00:00
|
|
|
COMMENT= A DJ mixing application
|
2004-06-26 06:07:01 +00:00
|
|
|
|
2005-10-23 01:41:18 +00:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
|
|
|
qmake:${PORTSDIR}/devel/qmake
|
|
|
|
LIB_DEPENDS= samplerate:${PORTSDIR}/audio/libsamplerate \
|
|
|
|
portaudio:${PORTSDIR}/audio/portaudio \
|
|
|
|
mad:${PORTSDIR}/audio/libmad \
|
|
|
|
id3tag:${PORTSDIR}/audio/libid3tag \
|
|
|
|
vorbis:${PORTSDIR}/audio/libvorbis \
|
|
|
|
sndfile:${PORTSDIR}/audio/libsndfile
|
2004-06-26 06:07:01 +00:00
|
|
|
|
2005-10-23 01:41:18 +00:00
|
|
|
USE_QT_VER= 3
|
|
|
|
HAS_CONFIGURE= yes
|
2007-05-19 20:36:56 +00:00
|
|
|
USE_GL= yes
|
2004-06-26 06:07:01 +00:00
|
|
|
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/src
|
2005-10-23 01:41:18 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/src
|
2004-06-26 06:07:01 +00:00
|
|
|
|
2007-02-13 00:16:29 +00:00
|
|
|
CONFIGURE_ENV= QMAKESPEC="freebsd-g++"
|
2005-10-23 01:41:18 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2007-02-13 00:16:29 +00:00
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
2004-06-26 06:07:01 +00:00
|
|
|
|
2004-09-19 01:05:44 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-23 01:41:18 +00:00
|
|
|
.if ${OSVERSION} < 503001
|
|
|
|
IGNORE= does not compile on FreeBSD < 5.3, due to lack of round() in libm
|
|
|
|
.endif
|
|
|
|
|
2004-06-26 06:07:01 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
2004-10-13 14:26:41 +00:00
|
|
|
-e 's|/bin/bash|${LOCALBASE}&| ; \
|
|
|
|
s|$$QTDIR/bin/qmake|${LOCALBASE}/bin/qmake|g' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
@${REINPLACE_CMD} \
|
- 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
|
|
|
-e 's|system( ld|& -shared -L${LOCALBASE}/lib|' \
|
2004-06-26 06:07:01 +00:00
|
|
|
${CONFIGURE_WRKSRC}/check.qbas
|
2005-10-23 01:41:18 +00:00
|
|
|
@${REINPLACE_CMD} \
|
- 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
|
|
|
-e 's|/usr/local|${LOCALBASE}|; s|/opt|${LOCALBASE}|' \
|
2005-10-23 01:41:18 +00:00
|
|
|
${CONFIGURE_WRKSRC}/paths.qbas
|
2004-06-26 06:07:01 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Mixxx-Manual.pdf ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|