2020-05-02 01:30:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2020/05/01 23:30:25 rillig Exp $
|
1998-07-15 02:45:37 +02:00
|
|
|
|
|
|
|
DISTNAME= xcolorsel-1.1a-src
|
|
|
|
PKGNAME= xcolorsel-1.1a
|
2020-05-02 01:30:25 +02:00
|
|
|
PKGREVISION= 5
|
1998-07-15 02:45:37 +02:00
|
|
|
CATEGORIES= x11
|
1999-04-15 22:39:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=utilities/}
|
1998-07-15 02:45:37 +02:00
|
|
|
|
2007-02-15 23:37:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Browse and select named X colors from rgb.txt
|
1998-07-15 02:45:37 +02:00
|
|
|
|
2004-01-20 13:28:26 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xcolorsel
|
1998-07-15 02:45:37 +02:00
|
|
|
USE_IMAKE= yes
|
2001-08-23 06:26:51 +02:00
|
|
|
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_CLASSES+= xcolorsel
|
2015-12-29 05:54:34 +01:00
|
|
|
SUBST_STAGE.xcolorsel= pre-configure
|
|
|
|
SUBST_MESSAGE.xcolorsel= Fixing hard-coded paths.
|
|
|
|
SUBST_FILES.xcolorsel= RgbText.c
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.xcolorsel= X11BASE
|
2013-01-15 17:21:34 +01:00
|
|
|
|
|
|
|
#this requires Xaw3d
|
|
|
|
XAW_TYPE= 3d
|
2015-10-14 22:17:24 +02:00
|
|
|
# does not directly support Xaw3d
|
2015-12-29 05:54:34 +01:00
|
|
|
BUILDLINK_TRANSFORM+= l:Xaw:Xaw3d
|
2015-10-14 22:17:24 +02:00
|
|
|
.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
|
2013-01-15 17:21:34 +01:00
|
|
|
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
1998-07-15 02:45:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|