summaryrefslogtreecommitdiff
path: root/audio/krio/Makefile
blob: 4f6a4022b2c7544c37abbfd4ed664ce5d6b2bba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.9 2002/03/13 17:36:37 fredb Exp $

DISTNAME=	Krio-19990721
PKGNAME=	krio-19990721
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.13th-floor.org/pub/krio/

MAINTAINER=     packages@netbsd.org
HOMEPAGE=       http://kyle.13th-floor.org/2.0/krio
COMMENT=	kde front-end for managing the Rio PMP300 mp3 player

ONLY_FOR_PLATFORM=	NetBSD-*-i386

USE_X11BASE=	yes

RIODIR=		${_PKGSRCDIR}/audio/rio/${WRKDIR:T}/rio107

DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	kdelibs-1.1.2nb1:../../x11/kdelibs
DEPENDS+=	png>=1.2.1:../../graphics/png
DEPENDS+=	qt1-1.44:../../x11/qt1
DEPENDS+=	tiff-[0-9]*:../../graphics/tiff

WRKSRC=		${WRKDIR}/Krio

EVAL_PREFIX=	QT1DIR=qt1 KDEDIR=kdelibs
MAKE_ENV+=	QT1DIR=${QT1DIR} KDEDIR=${KDEDIR}
MAKE_ENV+=	RIODIR=${RIODIR} X11PREFIX=${X11PREFIX}

pre-configure:
	if [ ! -e ${RIODIR} ]; then					\
		cd ../../audio/rio && ${MAKE} configure;		\
	fi

pre-clean:
	cd ../../audio/rio && ${MAKE} clean

.include "../../mk/bsd.pkg.mk"