04d06f7b44
note that all SDL libs link with supc++ (potentially, and thus are affected) -> don't take a chance, bump.
33 lines
717 B
Makefile
33 lines
717 B
Makefile
# $OpenBSD: Makefile,v 1.7 2006/01/13 23:40:24 espie Exp $
|
|
|
|
COMMENT= "primitives drawing/other support functions for SDL"
|
|
DISTNAME= SDL_gfx-2.0.12
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p1
|
|
SHARED_LIBS= SDL_gfx 12.0
|
|
CATEGORIES= devel graphics x11
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
HOMEPAGE= http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
|
|
|
|
# LGPL
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
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>
|