aboutsummaryrefslogtreecommitdiff
path: root/audio/mixxx/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-26 06:07:01 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-26 06:07:01 +0000
commit18dd10fbb716aa37c5d3c9c5bc187797abe17331 (patch)
tree8b9bdb02524deef9e6a124841394666f36bcd3ec /audio/mixxx/Makefile
parent66d0d7c3587486cbd31ff6819a29d58708ecd17b (diff)
downloadports-18dd10fbb716aa37c5d3c9c5bc187797abe17331.tar.gz
ports-18dd10fbb716aa37c5d3c9c5bc187797abe17331.zip
Notes
Diffstat (limited to 'audio/mixxx/Makefile')
-rw-r--r--audio/mixxx/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile
new file mode 100644
index 000000000000..7c424ae335a3
--- /dev/null
+++ b/audio/mixxx/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: Mixxx
+# Date created: 25 Jun 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mixxx
+PORTVERSION= 1.3.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= A DJ mixing application
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
+ 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
+
+USE_X_PREFIX= yes
+USE_QT_VER= 3
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+
+CONFIGURE_WRKSRC= ${WRKSRC}/src
+BUILD_WRKSRC= ${WRKSRC}/src
+INSTALL_WRKSRC= ${WRKSRC}/src
+
+CONFIGURE_ENV= QTDIR="${X11BASE}" \
+ QMAKESPEC="freebsd-g++" \
+ NOPORTDOCS="${NOPORTDOCS}"
+MAKE_ENV= QTDIR="${X11BASE}"
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's|@LOCALBASE@|${LOCALBASE}|g' \
+ -e 's|@X11BASE@|${X11BASE}|g' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
+ ${CONFIGURE_WRKSRC}/check.qbas
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Mixxx-Manual.pdf ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+.include <bsd.port.post.mk>