2011-01-03 14:56:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2011/01/03 19:56:33 jasper 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
|
|
|
|
2011-01-03 14:56:33 -05:00
|
|
|
DISTNAME= GUIlib-1.2.1
|
2010-07-18 15:12:05 -04:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
|
2011-01-03 14:56:33 -05:00
|
|
|
SHARED_LIBS += GUI 2.0 # .0.1
|
2006-01-07 09:48:47 -05:00
|
|
|
|
2001-05-07 00:04:36 -04:00
|
|
|
CATEGORIES= devel graphics
|
2011-01-03 14:47:11 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/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
|
|
|
|
2011-01-03 14:56:33 -05:00
|
|
|
# Public Domain
|
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
|
|
|
|
2011-01-03 14:56:33 -05:00
|
|
|
WANTLIB += SDL m sndio stdc++ usbhid
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= devel/sdl
|
2001-05-07 00:04:36 -04:00
|
|
|
|
2011-01-03 14:47:11 -05:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2011-01-03 14:56:33 -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>
|
2010-07-18 15:12:05 -04:00
|
|
|
|
|
|
|
.if ${COMPILER_VERSION:L:Mgcc[34]}
|
2003-12-30 13:49:04 -05:00
|
|
|
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
|
|
|
|
.endif
|
|
|
|
|
2001-05-07 00:04:36 -04:00
|
|
|
.include <bsd.port.mk>
|