openbsd-ports/devel/sdl-net/Makefile
ajacoutot 2d423dc45d - update to sdl-net-1.2.7
- remove jolan@ from maintainer as per his request
2008-06-18 11:18:44 +00:00

37 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.25 2008/06/18 11:18:44 ajacoutot Exp $
COMMENT= SDL cross-platform networking library
V= 1.2.7
DISTNAME= SDL_net-${V}
PKGNAME= sdl-net-${V}
SHARED_LIBS= SDL_net 1.1 # .0.7
CATEGORIES= devel net
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
http://www.libsdl.org/projects/SDL_net/release/
HOMEPAGE= http://www.libsdl.org/projects/SDL_net/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xext Xrandr Xrender iconv usbhid m
LIB_DEPENDS= SDL::devel/sdl
USE_X11= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
CONFIGURE_ARGS+= --disable-gui \
${CONFIGURE_SHARED}
.include <bsd.port.mk>