summaryrefslogtreecommitdiffstats
path: root/audio/madman/Makefile
blob: 69f0bf757d3fd1f59acdfc51cdb0ff704e20d2e4 (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
40
41
42
43
44
45
# New ports collection makefile for:	madman
# Date created:		2005-10-12
# Whom:			Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#

PORTNAME=	madman
PORTVERSION=	0.93
PORTREVISION=	10
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An advanced digital music manager

BUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms \
		id3tag.0:${PORTSDIR}/audio/libid3tag \
		vorbis.4:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS=	python:${PORTSDIR}/lang/python

USE_QT_VER=	3
USE_GNOME=	glib12

PLIST_FILES=	bin/madman \
		lib/madman/plugins/burn_to_audio_cd \
		lib/madman/plugins/burn_to_data_cd \
		lib/madman/plugins/export_m3u \
		lib/madman/plugins/move_to_trash
PLIST_DIRS=	lib/madman/plugins lib/madman

do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/scons -C ${WRKSRC} prefix=${PREFIX} \
	qt_directory=${QT_PREFIX} add_c_include_dirs=${LOCALBASE}/include add_lib_dirs=${LOCALBASE}/lib

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${PREFIX}/bin
	${MKDIR} ${PREFIX}/lib/madman
	${MKDIR} ${PREFIX}/lib/madman/plugins
	for plugin in burn_to_audio_cd burn_to_data_cd export_m3u move_to_trash; do \
		${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${PREFIX}/lib/madman/plugins; \
	done

.include <bsd.port.mk>
OpenPOWER on IntegriCloud