[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / wm / fvwm

File: [cvs.NetBSD.org] / pkgsrc / wm / fvwm / Makefile (download)

Revision 1.63, Wed Nov 23 16:21:16 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.62: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.63 2022/11/23 16:21:16 adam Exp $

DISTNAME=	fvwm-${FVWM_VER}
PKGREVISION=	16
CATEGORIES=	wm x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=fvwmorg/}
GITHUB_RELEASE=	${FVWM_VER}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.fvwm.org/
COMMENT=	Newer version of X11 Virtual window manager
LICENSE=	gnu-gpl-v2

CONFLICTS=	fvwm1-[0-9]* fvwm2-[0-9]* fvwm3-[0-9]* metisse-[0-9]* xpmroot-[0-9]*
FVWM_VER=	2.6.9

GNU_CONFIGURE=		YES
USE_TOOLS+=		perl:run tar pkg-config

PLIST_SUBST+=		FVWM_VER=${FVWM_VER:Q}

INSTALLATION_DIRS+=	lib/X11/fvwm2
INSTALLATION_DIRS+=	lib/X11/fvwm2/pixmaps
INSTALLATION_DIRS+=	${PKGMANDIR}/man1

# \todo: build with debug(or dbug?) to see fvwm console etc
# \todo: look into more configure options
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/lib/X11/fvwm2
CONFIGURE_ARGS+=	--libexecdir=${PREFIX}/lib/X11
CONFIGURE_ARGS+=	--with-xpm-includes=${BUILDLINK_PREFIX.libXpm}/include
CONFIGURE_ARGS+=	--with-imagepath=${PREFIX}/lib/X11/fvwm2/pixmaps:${X11BASE}/include/X11/bitmaps:${X11BASE}/include/X11/pixmaps
CONFIGURE_ARGS+=	--without-rplay-library

# We don't want to have CPP from the buildlink directory
CONFIGURE_ENV+=		ac_cv_path_FVWM_CPP=${CPP:Q}
# To avoid ${WRKDIR} is included in perl script
CONFIGURE_ENV+=		ac_cv_path_PERL=${PERL5:Q}

.include "../../lang/python/application.mk"
# fvwm-menu-desktop requires python3 and requires python-xdg at runtime.
PYTHON_VERSIONS_INCOMPATIBLE=	27
DEPENDS+=			${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
CONFIGURE_ENV+=			PYTHON=${PYTHONBIN}
CONFIGURE_ENV+=			ac_cv_path_PYTHON=${PYTHONBIN:Q}

.include "options.mk"

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../devel/libstroke/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"