if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.92 2021/02/23 19:39:46 sthen Exp $
|
|
|
|
COMMENT= HTML editor for experienced web designers
|
|
|
|
DISTNAME= bluefish-2.2.12
|
|
|
|
CATEGORIES= www editors
|
|
|
|
HOMEPAGE= http://bluefish.openoffice.nl/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender aspell atk-1.0 atk-bridge-2.0
|
|
WANTLIB += c cairo cairo-gobject enchant-2 epoxy expat ffi fontconfig
|
|
WANTLIB += freetype fribidi gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
|
WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-3
|
|
WANTLIB += gucharmap_2_90 harfbuzz iconv intl lzma m pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png python3.8
|
|
WANTLIB += util xcb xcb-render xcb-shm xml2 z
|
|
|
|
MASTER_SITES= https://www.bennewitz.com/bluefish/stable/source/
|
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
|
|
|
MODULES= lang/python \
|
|
textproc/intltool
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
misc/shared-mime-info \
|
|
x11/gtk+3,-guic
|
|
|
|
LIB_DEPENDS= textproc/enchant2 \
|
|
x11/gnome/gucharmap
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-freedesktop_org-menu='${PREFIX}/share/applications/' \
|
|
--disable-update-databases
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/bluefish/*.{a,la}
|
|
# XXX not fully py3 ready although it needs it
|
|
# (checking whether /usr/local/bin/python2.7 version is >= 3.3... no)
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/bluefish || true
|
|
|
|
.include <bsd.port.mk>
|