45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
COMMENT = C++ toolkit for GUI
|
|
CATEGORIES = devel
|
|
|
|
DISTNAME = fox-1.6.50
|
|
REVISION = 3
|
|
|
|
SHARED_LIBS += FOX-1.6 2.1 # .0.50
|
|
SHARED_LIBS += CHART-1.6 1.1 # .0.50
|
|
MASTER_SITES = http://ftp.fox-toolkit.org/pub/
|
|
HOMEPAGE = http://www.fox-toolkit.org/
|
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
LIB_DEPENDS = archivers/bzip2 \
|
|
graphics/jpeg \
|
|
graphics/png \
|
|
graphics/tiff
|
|
|
|
CONFIGURE_ENV += \
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS += \
|
|
--x-includes="${X11BASE}/include -I${X11BASE}/include/freetype2" \
|
|
--x-libraries=${X11BASE}/lib \
|
|
--with-xft
|
|
|
|
# LGPL or looser
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
FOX = fox-1.6
|
|
SUBST_VARS = FOX
|
|
|
|
WANTLIB += GL GLU X11 X11-xcb Xcursor Xdamage Xext Xfixes Xft
|
|
WANTLIB += Xrandr Xrender Xxf86vm bz2 c drm expat fontconfig freetype
|
|
WANTLIB += glapi jpeg m png pthread ${COMPILER_LIBCXX} tiff
|
|
WANTLIB += xcb xcb-dri2 xcb-glx z Xau Xdmcp lzma xcb-dri3
|
|
WANTLIB += xcb-present xcb-shm xcb-sync xcb-xfixes xshmfence zstd
|
|
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
.include <bsd.port.mk>
|