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

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

Revision 1.24, Wed Oct 14 20:17:28 2015 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.23: +9 -3 lines

Switch from x11/Xaw3d to newer x11/libXaw3d.

Adapt some packages so they build with that.
Bump their PKGREVISIONs.

# $NetBSD: Makefile,v 1.24 2015/10/14 20:17:28 wiz Exp $

DISTNAME=	xcolorsel-1.1a-src
PKGNAME=	xcolorsel-1.1a
PKGREVISION=	4
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB:=utilities/}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Browse and select named X colors from rgb.txt

WRKSRC=		${WRKDIR}/xcolorsel
USE_IMAKE=	yes

SUBST_CLASSES+=         xcolorsel
SUBST_STAGE.xcolorsel=        pre-configure
SUBST_MESSAGE.xcolorsel=      Fixing hard-coded paths.
SUBST_FILES.xcolorsel=        RgbText.c
SUBST_SED.xcolorsel+=         -e "s,@X11BASE@,${X11BASE},g"

#this requires Xaw3d
XAW_TYPE=	3d
# does not directly support Xaw3d
BUILDLINK_TRANSFORM+=   l:Xaw:Xaw3d
.PHONY: buildlink-Xaw3d-inc-hack
pre-configure: buildlink-Xaw3d-inc-hack

buildlink-Xaw3d-inc-hack: buildlink-directories
	cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw

.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"