2004-11-23 06:22:00 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2004/11/23 11:22:02 espie Exp $
|
2001-05-07 00:04:36 -04:00
|
|
|
|
|
|
|
COMMENT= "SDL C++ GUI widget library"
|
|
|
|
|
2002-09-03 00:20:27 -04:00
|
|
|
VER= 1.1.1
|
2001-10-05 13:44:07 -04:00
|
|
|
PROJ= GUIlib
|
2001-05-07 00:04:36 -04:00
|
|
|
DISTNAME= ${PROJ}-${VER}
|
|
|
|
PKGNAME= guilib-${VER}
|
|
|
|
CATEGORIES= devel graphics
|
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/src/
|
|
|
|
|
2003-09-25 02:25:13 -04:00
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/GUIlib/
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2002-09-03 00:29:10 -04:00
|
|
|
# GPL
|
2001-05-07 00:04:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 06:22:00 -05:00
|
|
|
WANTLIB= X11 Xext m usbhid
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2001-12-28 17:21:29 -05:00
|
|
|
LIB_DEPENDS= SDL.::devel/sdl
|
2001-05-07 00:04:36 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
|
2003-12-30 13:49:04 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_GCC3?=No
|
|
|
|
.if ${USE_GCC3:L} == "yes"
|
|
|
|
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
|
|
|
|
.endif
|
|
|
|
|
2001-05-07 00:04:36 -04:00
|
|
|
.include <bsd.port.mk>
|