48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
PORTNAME= copperspice
|
|
DISTVERSION= 1.7.4
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= https://download.copperspice.com/${PORTNAME}/source/
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
COMMENT= First class GUI library to unite the C++ community
|
|
WWW= https://www.copperspice.com/
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/license/LICENSE.LGPL
|
|
|
|
NOT_FOR_ARCHS= i386
|
|
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
libpulse.so:audio/pulseaudio \
|
|
libcups.so:print/cups \
|
|
libxcb-icccm.so:x11/xcb-util-wm \
|
|
libxcb-image.so:x11/xcb-util-image \
|
|
libxcb-keysyms.so:x11/xcb-util-keysyms \
|
|
libxcb-render-util.so:x11/xcb-util-renderutil \
|
|
libxcb.so:x11/libxcb \
|
|
libxkbcommon.so:x11/libxkbcommon \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
USES= compiler:c++17-lang cmake dos2unix gl gnome gstreamer iconv jpeg pkgconfig ssl tar:bz2 xorg
|
|
USE_GL= gl
|
|
USE_GNOME= cairo glib20 libxml2
|
|
USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH='${LOCALBASE}/lib/copperspice/bin' \
|
|
-DCMAKE_INSTALL_INCLUDEDIR:PATH='${LOCALBASE}/include/copperspice' \
|
|
-DCMAKE_INSTALL_PREFIX:PATH='${LOCALBASE}' \
|
|
-DTOOLS_SUFFIX:STRING=-cs
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
# There is a notional conflict with the Qt ports: those have **versioned**
|
|
# tool names, like designer-qt5, lupdate-qt5, to allow co-installation
|
|
# of Qt[456] (when we had / have more than one current-version in ports).
|
|
#
|
|
# We use -cs for the Copperspice suffix to distinguish from -qt5, and
|
|
# the executables go in a separate directory anyway.
|
|
#
|
|
# CONFLICTS= qt5-core
|
|
|
|
.include <bsd.port.mk>
|