2006-02-18 15:32:17 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2006/02/18 20:32:17 steven Exp $
|
2003-08-08 23:22:50 -04:00
|
|
|
|
|
|
|
COMMENT= "primitives drawing/other support functions for SDL"
|
2004-09-27 21:36:32 -04:00
|
|
|
DISTNAME= SDL_gfx-2.0.12
|
2006-02-18 15:32:17 -05:00
|
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p3
|
2006-01-13 18:40:22 -05:00
|
|
|
SHARED_LIBS= SDL_gfx 12.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
|
|
|
|
|
2006-02-08 14:17:31 -05:00
|
|
|
WANTLIB= m usbhid X11 Xext
|
|
|
|
|
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>
|