summaryrefslogtreecommitdiffstats
path: root/audio/pimp3/Makefile
blob: fb9cb7c5d6c153a8f49b87eecbfcb27eb79109ea (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
# New ports collection makefile for:	pimp
# Date created:				23 February 2000
# Whom:					rbt@zort.on.ca
#
# $FreeBSD$
#

PORTNAME=	pimp3
PORTVERSION=	0.5.8
CATEGORIES=	audio
MASTER_SITES=	ftp://pimp3.sourceforge.net/pub/pimp3/

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123

BROKEN=		Requires gdbm support which is not built\
		by default by python

WRKSRC=		${WRKDIR}/pimp3

NO_BUILD=	yes
USE_PYTHON=	yes

post-patch:
	@${PERL} -pi -ne "s!/usr/bin/python!${LOCALBASE}/bin/python!;" ${WRKSRC}/pimp3.py

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/*.pyc ${PREFIX}/bin/

post-install:
	@${ECHO_MSG}
	@${ECHO_MSG} "Take a look at the README to see how to install"
	@${ECHO_MSG} "and configure an audio database, among other"
	@${ECHO_MSG} "details that should be known."
	@${ECHO_MSG} ""
	@${ECHO_MSG} "Location: ${WRKDIR}/pimp3/README"
	@${ECHO_MSG}

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