mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
56503fc664
PR: 57290 Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: yammi
|
|
# Date created: 27 September 2003
|
|
# Whom: Arjan van Leeuwen <avleeuwen@piwebs.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yammi
|
|
PORTVERSION= 1.0.r1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.0.r/.0-rc/}
|
|
|
|
MAINTAINER= avleeuwen@piwebs.com
|
|
COMMENT= A QT-based music manager with fuzzy search
|
|
|
|
LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
|
|
id3-3.8.2:${PORTSDIR}/audio/id3lib \
|
|
xmms.4:${PORTSDIR}/multimedia/xmms
|
|
|
|
USE_QT_VER= 3
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
|
|
CONFIGURE_ARGS+= --program-prefix=''
|
|
USE_REINPLACE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/bin/noatun)
|
|
WITH_NOATUN=yes
|
|
.endif # exists(${LOCALBASE}/bin/noatun)
|
|
|
|
.if defined(WITH_NOATUN)
|
|
BUILD_DEPENDS+= noatun:${PORTSDIR}/multimedia/kdemultimedia3
|
|
WITH_KDE=yes
|
|
.endif # defined(WITH_NOATUN)
|
|
|
|
.if exists(${LOCALBASE}/lib/libkdecore.so)
|
|
WITH_KDE=yes
|
|
.endif # exists(${LOCALBASE}/lib/libkdecore.so)
|
|
|
|
.if defined(WITH_KDE)
|
|
USE_KDELIBS_VER=3
|
|
.endif # defined(WITH_KDE)
|
|
|
|
pre-configure::
|
|
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure
|
|
|
|
post-configure::
|
|
@${REINPLACE_CMD} -e 's@$$(DESTDIR)$$(KDEDIR)@$$(prefix)@g' ${WRKSRC}/yammi/docs/en/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|