aboutsummaryrefslogtreecommitdiffstats
path: root/net/ccxstream/Makefile
blob: 18352063085c0e3d25b03a832ea0a45d316c089c (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Ports collection makefile for:    ccxstream
# Date created:             2004-08-14
# Whom:                 Michael Handler <handler@grendel.net>
#
# $FreeBSD$
#

PORTNAME=       ccxstream
PORTVERSION=        1.0.15
PORTREVISION=       1
CATEGORIES=     net
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xbplayer

MAINTAINER=     ports@FreeBSD.org
COMMENT=        Stream media files to XBox Media Center via XBMSP

OPTIONS=        SO_KEEPALIVE "Build with SO_KEEPALIVE" ON \
            TCP_NODELAY "Build with TCP_NODELAY" OFF

USE_GMAKE=      yes
MAKE_ENV=       CC="${CC}"
USE_RC_SUBR=        ccxstream

PLIST_FILES=        \
            bin/ccxtest \
            sbin/ccxstream

.if !defined(NOPORTDOCS)
PORTDOCS=       README ChangeLog TODO xbmsp-xml.txt xbmsp.txt
.endif

do-install:
    @${MKDIR} ${PREFIX}/sbin
    @${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${PREFIX}/sbin
    @${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

# enable SO_KEEPALIVE
.if defined(WITH_SO_KEEPALIVE)
CFLAGS+=    -DSO_KEEPALIVE
.endif

# enable TCP_NODELAY
.if defined(WITH_TCP_NODELAY)
CFLAGS+=    -DTCP_NODELAY
.endif

.include <bsd.port.post.mk>
/td>- update to 0.44bapt2011-07-142-4/+7 * - Cleaning MD5 in perl@'s portsjadawin2011-05-171-1/+0 * - only 13% of the p5- ports embed @comment $FreeBSD$:pgollucci2010-09-241-1/+0 * - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checkspgollucci2009-07-231-4/+0 * - Update to 0.43miwi2009-05-112-4/+4 * - Update to 0.42jadawin2009-04-063-4/+6 * - Update to 0.41jadawin2008-12-122-4/+4 * Update to 0.40. Require perl 5.8.5+.tobez2008-11-272-7/+7 * - update to 0.30leeym2008-11-143-9/+21 * - Update 0.23clsung2008-10-242-5/+4 * - update dependencyleeym2008-10-241-2/+8 * - Update to 0.22jadawin2008-10-232-4/+4 * - update to 0.21leeym2008-10-193-18/+14 * - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...araujo2008-04-171-2/+1 * Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-081-9/+2 * - update to 0.12clsung2006-08-142-4/+4 * - Update to 0.11clsung2006-08-083-13/+13 * - update to 0.10clsung2006-07-182-6/+5 * fix buildijliao2006-07-171-2/+2 * - Update to 0.09clsung2006-07-132-7/+7 * - update to 0.08leeym2006-04-012-17/+18 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1 * - Add SHA256pav2005-11-261-0/+1 * Update to 0.07lth2005-09-212-3/+3 * Update to 0.05lth2005-07-313-5/+10 * Back out my previous commits and depend on lang/p5-Scalar-List-Utilsarved2004-08-031-3/+4 * *Argh* perl 5.8 is lang/perl5.8arved2004-08-021-1/+1 * Port requires List::Util from perl 5.8, so raise IGNOREarved2004-08-021-2/+2 * Add p5-XML-Feed 0.02, perl5 modules for Syndication feed parser andvanilla2004-07-31