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

File: [cvs.NetBSD.org] / pkgsrc / x11 / xinit / Makefile (download)

Revision 1.23, Thu Feb 23 06:20:07 2017 UTC (3 years, 6 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.22: +5 -1 lines

Don't pick up pkgsrc openssl if it happens to be installed.
Also, since native openssl may or may not include openssl(1),
switch to x11/mcookie for cookie generation instead.
Bump rev.

# $NetBSD: Makefile,v 1.23 2017/02/23 06:20:07 tnn Exp $

DISTNAME=		xinit-1.3.4
PKGREVISION=		1
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"