pkgsrc/x11/xinit/Makefile
maya c52fc84a93 xinit: don't use GNU expr extensions
Already committed upstream and in NetBSD

From John Vogel
2017-05-31 05:29:34 +00:00

29 lines
914 B
Makefile

# $NetBSD: Makefile,v 1.24 2017/05/31 05:29:34 maya Exp $
DISTNAME= xinit-1.3.4
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= X init program
LICENSE= mit
DEPENDS+= mcookie-[0-9]*:../../x11/mcookie
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xinit=${PREFIX}/bin/xinit
USE_TOOLS+= pkg-config xauth:run gmake # nb: gmake is needed on Darwin
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
CONFIGURE_ENV+= ac_cv_path_MCOOKIE="${PREFIX}/bin/mcookie"
INSTALL_MAKE_FLAGS+= xinitrcdir=${PREFIX}/share/examples/xinit
CONF_FILES= ${PREFIX}/share/examples/xinit/xinitrc ${PREFIX}/etc/X11/xinit/xinitrc
MAKE_DIRS= ${PREFIX}/etc/X11/xinit
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"