summaryrefslogtreecommitdiff
path: root/audio/liveice/Makefile
blob: 01b663e7f9946b269a477de64256cdc51cfadd98 (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
# $NetBSD: Makefile,v 1.8 2005/02/21 20:26:08 hubertf Exp $
#

DISTNAME=	liveice
PKGNAME=	liveice-0.20001121
CATEGORIES=	audio
MASTER_SITES=	http://star.arm.ac.uk/~spm/software/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://star.arm.ac.uk/~spm/software/liveice.html
COMMENT=	Source client for Icecast

DEPENDS+=	mpg123-0.5*:../../audio/mpg123
DEPENDS+=	lame-3.*:../../audio/lame
DEPENDS+=	tk>=8.0:../../x11/tk

GNU_CONFIGURE=	YES
DIST_SUBDIR=	liveice-0.20001121
USE_BUILDLINK3=	yes
LIBS+=		${LIBOSSAUDIO}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/liveice ${PREFIX}/bin
	( ${ECHO} '#!${LOCALBASE}/bin/wish' ; \
	  ${TAIL} +2 ${WRKSRC}/liveiceconfigure.tk \
	) >${PREFIX}/bin/liveiceconfigure.tk
	${CHGRP} ${BINGRP}	${PREFIX}/bin/liveiceconfigure.tk
	${CHOWN} ${BINOWN}	${PREFIX}/bin/liveiceconfigure.tk
	${CHMOD} ${BINMODE}	${PREFIX}/bin/liveiceconfigure.tk
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/liveice
	for i in README.frontend README.liveice README.quickstart \
		README.xingmp3enc README_new_mixer.txt ; \
	do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/liveice ; \
	done

.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"