Files
claudio 8fb612dacd Unbreak ports that get confused because lang/python module sets
COMPILER_LANGS to just c but this really needs c and c++.
OK tb@
2025-12-03 12:44:00 +00:00

40 lines
916 B
Makefile

COMMENT= program for drawing structured diagrams
DIST_TUPLE= gnome GNOME dia 87116635c2216e80c65a4e520ad0365d5416a38a .
PKGNAME= dia-0.98.0alpha20250817
CATEGORIES= graphics
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} c cairo gdk-3 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphene-1.0 gtk-3
WANTLIB += intl m pango-1.0 pangocairo-1.0 poppler ${MODPY_WANTLIB}
WANTLIB += xml2 xpm-pixbuf xslt
# needs c++ and python
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c c++
MODULES= lang/python \
devel/meson \
x11/gnome
MODPY_RUNDEP= No
BUILD_DEPENDS= devel/appstream
LIB_DEPENDS= graphics/graphene \
graphics/xpm-pixbuf \
print/poppler \
textproc/libxslt \
x11/gtk+3
RUN_DEPENDS= devel/xdg-utils
MODGNOME_TOOLS= desktop-file-utils docbook gtk-update-icon-cache
.include <bsd.port.mk>