aboutsummaryrefslogtreecommitdiffstats
path: root/net/xboxproxy/Makefile
blob: c742882005e27b7576dc869a2ee1c5a2532295b0 (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
# New ports collection makefile for:    xboxproxy
# Date created:     6 October 2005
# Whom:         Antony Mawer <ports@mawer.org>
#
# $FreeBSD$

PORTNAME=   xboxproxy
PORTVERSION=    2.1
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   http://www.csh.rit.edu/~psionic/projects/xboxproxy/
DISTNAME=   proxy-${PORTVERSION}

MAINTAINER= ports@mawer.org
COMMENT=    A proxy for the XBox system link protocol

BUILD_DEPENDS=  ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-prefix=xbox

PLIST_FILES=    bin/xboxproxy

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config

post-patch:
    @${REINPLACE_CMD} -e \
        's|libnet-config|${LIBNET_CONFIG}|g; \
         s|-lnet|`${LIBNET_CONFIG} --libs`|' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>