1 # $NetBSD: Makefile,v 1.19 2008/11/10 17:21:39 wiz Exp $
7 MASTER_SITES= ftp://ftp.tut.ac.jp/X11/X11R6/contrib/programs/
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 COMMENT= Display all (ok, most of) the colors in the universe
12 PKG_DESTDIR_SUPPORT= user-destdir
14 WRKSRC= ${WRKDIR}/xcolors
17 .include "../../mk/bsd.prefs.mk"
19 .if ${X11_TYPE} == "modular"
20 DEPENDS+= rgb>=1.0.1:../../x11/rgb
21 CPPFLAGS+= -DRGB_TXT=\"${PREFIX}/share/X11/rgb.txt\"
23 CPPFLAGS+= -DRGB_TXT=\"${X11BASE}/lib/X11/rgb.txt\"
26 .include "../../x11/libXaw/buildlink3.mk"
27 .include "../../x11/libXp/buildlink3.mk"
28 .include "../../x11/libXt/buildlink3.mk"
29 .include "../../mk/bsd.pkg.mk"