openbsd-ports/devel/sdl-net/Makefile
2004-11-24 00:11:03 +00:00

36 lines
840 B
Makefile

# $OpenBSD: Makefile,v 1.14 2004/11/24 00:11:03 espie Exp $
COMMENT= "SDL cross-platform networking library"
DISTNAME= SDL_net-1.2.5
PKGNAME= ${DISTNAME:L:S/_/-/}
CATEGORIES= devel net
MASTER_SITES= http://www.libsdl.org/projects/SDL_net/release/
HOMEPAGE= http://www.libsdl.org/projects/SDL_net/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext usbhid
LIB_DEPENDS= SDL::devel/sdl
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
CONFIGURE_ARGS+= --disable-gui \
${CONFIGURE_SHARED}
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
.include <bsd.port.mk>