42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2018/01/02 23:20:19 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= liveice
|
|
PKGNAME= liveice-0.20001121
|
|
PKGREVISION= 3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://star.arm.ac.uk/~spm/software/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://star.arm.ac.uk/~spm/software/liveice.html
|
|
COMMENT= Source client for Icecast
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= mpg123-1.*:../../audio/mpg123
|
|
DEPENDS+= lame-3.*:../../audio/lame
|
|
DEPENDS+= tk>=8.0:../../x11/tk
|
|
|
|
GNU_CONFIGURE= YES
|
|
DIST_SUBDIR= liveice-0.20001121
|
|
LIBS+= ${LIBOSSAUDIO}
|
|
LIBS.SunOS+= -lsocket
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
REPLACE_INTERPRETER+= wish
|
|
REPLACE.wish.old= /usr/bin/wish
|
|
REPLACE.wish.new= ${LOCALBASE}/bin/wish
|
|
REPLACE_FILES.wish= liveiceconfigure.tk
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/liveice ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/liveiceconfigure.tk ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/liveice
|
|
.for f in README.frontend README.liveice README.quickstart \
|
|
README.xingmp3enc README_new_mixer.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/liveice
|
|
.endfor
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|