1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/ccxstream/Makefile
Vanilla I. Shu 73b056be3d Add ccxstream 1.0.15, stream media files to XBox Media Center via XBMSP.
PR:		ports/70470
Submitted by:	Michael Handler <handler@grendel.net>
2004-08-15 13:04:37 +00:00

50 lines
1.2 KiB
Makefile

# Ports collection makefile for: ccxstream
# Date created: 2004-08-14
# Whom: Michael Handler <handler@grendel.net>
#
# $FreeBSD$
#
PORTNAME= ccxstream
PORTVERSION= 1.0.15
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xbplayer
MAINTAINER= handler@grendel.net
COMMENT= Stream media files to XBox Media Center via XBMSP
USE_GMAKE= yes
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
SAMPLERC= ${PORTNAME}.sh.sample
REALRC= ${SAMPLERC:S/.sample//}
PLIST_FILES= bin/ccxstream bin/ccxtest etc/rc.d/${REALRC}
.if !defined(NOPORTDOCS)
PORTDOCS= README ChangeLog TODO xbmsp-xml.txt xbmsp.txt
.endif
post-build:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/${SAMPLERC} > ${WRKDIR}/${SAMPLERC}
do-install:
@${MKDIR} ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKDIR}/${SAMPLERC} ${PREFIX}/etc/rc.d/${REALRC}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
post-install:
@${CAT} pkg-message
.include <bsd.port.mk>