summaryrefslogtreecommitdiff
path: root/net/xbms/Makefile
blob: 0f3c62f06afd965ed2c823016e5c50ecbc074826 (plain) (blame)
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
# New ports collection makefile for:	xbms
# Date created:				Thu Dec 19 23:38:50 CET 2002
# Whom:					king@v2project.com
#
# $FreeBSD$
#

PORTNAME=	xbms
PORTVERSION=	0.30.6
CATEGORIES=	net
MASTER_SITES=	http://wipux2.wifo.uni-mannheim.de/~ck/
DISTNAME=       ${PORTNAME}_${PORTVERSION}

MAINTAINER=	king@v2project.com
COMMENT=	Xbms, the unix streaming server for xbox mediaplayer

ONLY_FOR_ARCHS=	i386 alpha
USE_REINPLACE=	yes

post-patch:
	${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/server.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xbms ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/xbms.conf ${PREFIX}/etc/xbms.conf.sample
	${INSTALL_DATA} ${FILESDIR}/xbms.sh.sample ${PREFIX}/etc/rc.d/xbms.sh.sample

.include <bsd.port.mk>