38 lines
840 B
Makefile
38 lines
840 B
Makefile
# $OpenBSD: Makefile,v 1.22 2008/11/19 17:26:20 sthen Exp $
|
|
|
|
COMMENT= SDL C++ GUI widget library
|
|
|
|
DISTNAME= GUIlib-1.1.1
|
|
PKGNAME= ${DISTNAME:L}p6
|
|
SHARED_LIBS += GUI 1.0 # .0.1
|
|
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= http://www.libsdl.org/projects/GUIlib/src/
|
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/GUIlib/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= X11 Xau Xrandr Xrender iconv Xdmcp Xext m sndio usbhid
|
|
|
|
LIB_DEPENDS= SDL.::devel/sdl
|
|
|
|
USE_X11= Yes
|
|
USE_LIBTOOL= Yes
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
.include <bsd.own.mk>
|
|
USE_GCC3?=No
|
|
.if ${USE_GCC3:L} == "yes"
|
|
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|