mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
c8bc32022d
- Convert to USES
31 lines
701 B
Makefile
31 lines
701 B
Makefile
# Created by: Antony Mawer <ports@mawer.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xboxproxy
|
|
PORTVERSION= 2.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.semicomplete.com/files/xboxproxy/
|
|
DISTNAME= proxy-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A proxy for the XBox system link protocol
|
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
|
|
|
USE_RC_SUBR= xboxproxy
|
|
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>
|