2007-10-14 04:22:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/10/14 08:22:17 winiger Exp $
|
2003-08-08 23:22:50 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= primitives drawing/other support functions for SDL
|
2007-04-10 20:39:36 -04:00
|
|
|
DISTNAME= SDL_gfx-2.0.13
|
2007-10-14 04:22:17 -04:00
|
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p1
|
2007-04-10 20:39:36 -04:00
|
|
|
SHARED_LIBS= SDL_gfx 13.0
|
2003-08-08 23:22:50 -04:00
|
|
|
CATEGORIES= devel graphics x11
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2006-02-18 15:32:17 -05:00
|
|
|
HOMEPAGE= http://www.ferzkopp.net/Software/SDL_gfx-2.0/
|
2003-08-08 23:22:50 -04:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2007-10-14 04:22:17 -04:00
|
|
|
WANTLIB= iconv m usbhid X11 Xau Xdmcp Xext Xrandr Xrender
|
2006-02-08 14:17:31 -05:00
|
|
|
|
2006-01-06 03:36:18 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2003-08-08 23:22:50 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS= SDL::devel/sdl
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "i386"
|
|
|
|
CONFIGURE_ARGS+=--disable-mmx
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|