freebsd-ports/net/xbms/Makefile
Marcus Alves Grando 73b5d69bdc - Fix MASTER_SITES. [1]
- Use USE_RC_SUBR and add rc.d script.
- Preserve .conf file
- Bump PORTREVISION
- portlint(1)

PR:		94248
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Reported by:	fenner's distfile survey [1]
Approved by:	portmgr (marcus)
2006-03-12 21:51:52 +00:00

31 lines
758 B
Makefile

# 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
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.xboxmediaplayer.de/downloads/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Xbms, the unix streaming server for xbox mediaplayer
USE_RC_SUBR= ${PORTNAME}
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
@if ! [ -f ${PREFIX}/etc/xbms.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/xbms.conf ${PREFIX}/etc/ ; \
fi
.include <bsd.port.mk>