2008-11-19 12:26:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2008/11/19 17:26:20 sthen Exp $
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= SDL C++ GUI widget library
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2005-11-20 20:16:53 -05:00
|
|
|
DISTNAME= GUIlib-1.1.1
|
2008-11-19 12:26:20 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}p6
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += GUI 1.0 # .0.1
|
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
|
2007-11-13 09:06:21 -05:00
|
|
|
|
2008-11-19 12:26:20 -05:00
|
|
|
WANTLIB= X11 Xau Xrandr Xrender iconv Xdmcp Xext m sndio 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>
|