2006-01-07 22:02:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2006/01/08 03:02:09 brad Exp $
|
2001-05-07 00:10:07 -04:00
|
|
|
|
|
|
|
COMMENT= "SDL cross-platform networking library"
|
|
|
|
|
2003-04-03 21:18:00 -05:00
|
|
|
DISTNAME= SDL_net-1.2.5
|
2006-01-06 03:36:18 -05:00
|
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p0
|
|
|
|
SHARED_LIBS= SDL_net 0.5
|
2001-05-07 00:10:07 -04:00
|
|
|
CATEGORIES= devel net
|
2003-04-03 21:18:00 -05:00
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_net/release/
|
2001-05-07 00:10:07 -04:00
|
|
|
|
2003-04-03 21:18:00 -05:00
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/SDL_net/
|
2001-05-07 00:10:07 -04:00
|
|
|
|
2003-05-12 04:23:45 -04:00
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
2001-05-07 00:10:07 -04:00
|
|
|
|
2002-09-03 02:24:46 -04:00
|
|
|
# GPL
|
2001-05-07 00:10:07 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= X11 Xext usbhid
|
2001-05-07 00:10:07 -04:00
|
|
|
|
2003-04-03 21:18:00 -05:00
|
|
|
LIB_DEPENDS= SDL::devel/sdl
|
2001-05-07 00:10:07 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2006-01-06 03:36:18 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-05-07 00:10:07 -04:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2002-11-30 03:12:18 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
2003-04-03 21:18:00 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-gui \
|
|
|
|
${CONFIGURE_SHARED}
|
2001-05-07 00:10:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|