1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/prokyon3/Makefile
Dejan Lesjak f691fe94db Fix build without imake.
Pointed out by:	dosirak via kris, while testing X.Org upgrade
Approved by:	maintainer
2004-12-08 20:59:56 +00:00

62 lines
1.7 KiB
Makefile

# New ports collection makefile for: prokyon3
# Date created: 11 November 2002
# Whom: Kay Lehmann
#
# $FreeBSD$
#
PORTNAME= prokyon3
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kay_lehmann@web.de
COMMENT= Prokyon3 is a multithreaded MP3 manager and tag editor
BUILD_DEPENDS= ${X11BASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
LIB_DEPENDS= id3-3.8:${PORTSDIR}/audio/id3lib \
vorbis.3:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
USE_QT_VER= 3
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GETOPT_LONG=yes
USE_MYSQL= yes
CONFIGURE_ARGS+=--with-qtdir=${X11BASE} --with-id3-libs=${LOCALBASE}\
--with-ogg-libs=${LOCALBASE} --with-vorbis-libs=${LOCALBASE} \
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500041
QT_NONSTANDARD= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include"
.endif
.if defined(WITH_BURN)
RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mpg123:${PORTSDIR}/audio/mpg123 \
ogg123:${PORTSDIR}/audio/vorbis-tools \
normalize:${PORTSDIR}/audio/normalize \
bash:${PORTSDIR}/shells/bash2
PLIST_FILES+= bin/prokburn
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-g -O2|${CFLAGS}|; s|-lqt-mt|-lqt-mt ${PTHREAD_LIBS}|' ${WRKSRC}/configure
.if !defined(WITH_BURN)
@${REINPLACE_CMD} -e 's|prokburn||' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|prokburn||' ${WRKSRC}/Makefile.in
.endif
post-install:
@${CAT} ${PKGMESSAGE}
@sleep 5
.include <bsd.port.post.mk>