2006-01-13 18:40:22 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2006/01/13 23:40:22 espie Exp $
|
2001-05-07 00:04:36 -04:00
|
|
|
|
|
|
|
COMMENT= "SDL C++ GUI widget library"
|
|
|
|
|
2005-11-20 20:16:53 -05:00
|
|
|
DISTNAME= GUIlib-1.1.1
|
2006-01-13 18:40:22 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}p1
|
|
|
|
SHARED_LIBS= GUI 1.0
|
2006-01-07 09:48:47 -05:00
|
|
|
|
2001-05-07 00:04:36 -04:00
|
|
|
CATEGORIES= devel graphics
|
2005-11-20 20:16:53 -05:00
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/GUIlib/src/
|
2001-05-07 00:04:36 -04:00
|
|
|
|
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
|
2005-11-20 20:16:53 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-05-07 00:04:36 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2005-11-20 20:16:53 -05:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
|
2001-05-07 00:04:36 -04:00
|
|
|
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>
|