40 lines
802 B
Makefile
40 lines
802 B
Makefile
# $OpenBSD: Makefile,v 1.30 2011/11/18 10:11:33 espie Exp $
|
|
|
|
COMMENT= SDL C++ GUI widget library
|
|
|
|
DISTNAME= GUIlib-1.2.1
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
SHARED_LIBS += GUI 2.0 # .0.1
|
|
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= ${HOMEPAGE}/src/
|
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/GUIlib/
|
|
|
|
# Public Domain
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += SDL m sndio stdc++ usbhid
|
|
|
|
LIB_DEPENDS= devel/sdl
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
USE_LIBTOOL= Yes
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if ${PROPERTIES:Mgcc[34]}
|
|
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|