openbsd-ports/devel/guilib/Makefile

40 lines
805 B
Makefile
Raw Normal View History

2011-01-03 14:56:33 -05:00
# $OpenBSD: Makefile,v 1.29 2011/01/03 19:56:33 jasper Exp $
COMMENT= SDL C++ GUI widget library
2011-01-03 14:56:33 -05:00
DISTNAME= GUIlib-1.2.1
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
CATEGORIES= devel graphics
2011-01-03 14:47:11 -05:00
MASTER_SITES= ${HOMEPAGE}/src/
HOMEPAGE= http://www.libsdl.org/projects/GUIlib/
2011-01-03 14:56:33 -05:00
# Public Domain
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
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= devel/sdl
2011-01-03 14:47:11 -05:00
MODULES= converters/libiconv
2011-01-03 14:56:33 -05:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2003-12-30 13:49:04 -05:00
.include <bsd.own.mk>
.if ${COMPILER_VERSION:L:Mgcc[34]}
2003-12-30 13:49:04 -05:00
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
.endif
.include <bsd.port.mk>