pkgsrc/x11/xcolorsel/Makefile
morr 449e35070e Clean up libXaw handling. [1/2]
- remove LIBXAW variable. It is handled by buildlink3.mk now
- simplify patches and Makefile in packages using libXaw
- in some cases force use of Xaw3d (won't build with Xaw)
- replace some directly included of x11/Xaw3d with mk/xaw.buildlink3.mk

In next part:
- replace more includes with mk/xaw.buildlink3.mk
2013-01-15 16:21:34 +00:00

26 lines
671 B
Makefile

# $NetBSD: Makefile,v 1.23 2013/01/15 16:21:36 morr Exp $
#
DISTNAME= xcolorsel-1.1a-src
PKGNAME= xcolorsel-1.1a
PKGREVISION= 3
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
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"