freebsd-ports/audio/prokyon3/Makefile
Beat Gaetzi 8558ca7184 - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8
was released in 2007 and KDE 3.5.10 in 2008 and both are no longer
  maintained upstream nor in our tree.
- Set EXPIRATION_DATE to 2013-07-01

Discussed with:	bapt, tabthorpe
2012-12-30 12:03:51 +00:00

73 lines
2 KiB
Makefile

# New ports collection makefile for: prokyon3
# Date created: 11 November 2002
# Whom: Kay Lehmann
#
# $FreeBSD$
#
PORTNAME= prokyon3
PORTVERSION= 0.9.6
PORTREVISION= 11
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A multithreaded music manager and tag editor
BUILD_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin \
bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
mad.2:${PORTSDIR}/audio/libmad \
vorbis.4:${PORTSDIR}/audio/libvorbis \
tag.1:${PORTSDIR}/audio/taglib
RUN_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
USE_XORG= x11 xft
USE_QT_VER= 3
USE_MYSQL= yes
USE_PERL5_BUILD=yes
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-other-includes=${LOCALBASE}/include \
--with-other-libs=${LOCALBASE}/lib \
--without-mixxx --without-musicextras \
--without-musicbrainz
MAKE_ARGS= LIBS="-lqt-mt ${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if defined(WITH_BURN)
USE_CDRTOOLS= yes
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 \
ogg123:${PORTSDIR}/audio/vorbis-tools \
normalize:${PORTSDIR}/audio/normalize \
bash:${PORTSDIR}/shells/bash
PLIST_SUB+= BURN=""
.else
PLIST_SUB+= BURN="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|^#!.*$$|#!${LOCALBASE}/bin/bash|g ; \
s|^CXXFLAGS=|#CXXFLAGS=|g ; \
s|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|^#!.*$$|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/prokburn
@${REINPLACE_CMD} -e \
's|: install-binSCRIPTS|:|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|getopt.$$(OBJEXT)||g' ${WRKSRC}/src/Makefile.in
post-install:
.if defined(WITH_BURN)
${INSTALL_SCRIPT} ${WRKSRC}/prokburn ${PREFIX}/bin
.endif
@${CAT} ${PKGMESSAGE}
@sleep 5
.include <bsd.port.post.mk>