blob: 09de8a0c27e2f1dbe738cdf0f047de657c4b47f0 (
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
|
# $NetBSD: Makefile,v 1.21 2004/02/20 00:41:16 abs Exp $
#
DISTNAME= mserv-0.35
PKGREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://www.mserv.org/download/
MAINTAINER= martin@NetBSD.org
HOMEPAGE= http://www.mserv.org/
COMMENT= Local centralised music server environment
DEPENDS+= mpg123-[0-9]*:../mpg123
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/mserv
CONFIGURE_ENV+= MY_LIBS="-lvorbisfile -lvorbis"
USE_BUILDLINK2= yes
USE_LIBTOOL= yes
REPLACE_PERL= support/mservedit webclient/main.cgi \
webclient/margin.cgi webclient/mserv.cgi
LDFLAGS.SunOS+= -lnsl -lsocket
post-configure:
${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mserv
${INSTALL_DATA} \
${WRKSRC}/INSTALL \
${WRKSRC}/LICENSE \
${PREFIX}/share/doc/mserv
${INSTALL_DATA_DIR} ${PREFIX}/share/mserv/webclient
${INSTALL_DATA} \
${WRKSRC}/webclient/* \
${PREFIX}/share/mserv/webclient
.include "../../audio/libogg/buildlink2.mk"
.include "../../audio/libvorbis/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|