openbsd-ports/devel/guilib/Makefile
2003-12-30 18:49:04 +00:00

36 lines
746 B
Makefile

# $OpenBSD: Makefile,v 1.11 2003/12/30 18:49:04 espie Exp $
COMMENT= "SDL C++ GUI widget library"
VER= 1.1.1
PROJ= GUIlib
DISTNAME= ${PROJ}-${VER}
PKGNAME= guilib-${VER}
CATEGORIES= devel graphics
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/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
LIB_DEPENDS= SDL.::devel/sdl
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="${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>