update Sat May 15 06:37:01 PDT 2010
[pkgsrc.git] / x11 / xcolors / Makefile
1 # $NetBSD: Makefile,v 1.19 2008/11/10 17:21:39 wiz Exp $
2
3 DISTNAME=       xcolors
4 PKGNAME=        xcolors-1.3
5 PKGREVISION=    4
6 CATEGORIES=     x11
7 MASTER_SITES=   ftp://ftp.tut.ac.jp/X11/X11R6/contrib/programs/
8
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 COMMENT=        Display all (ok, most of) the colors in the universe
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 WRKSRC=         ${WRKDIR}/xcolors
15 USE_IMAKE=      yes
16
17 .include "../../mk/bsd.prefs.mk"
18
19 .if ${X11_TYPE} == "modular"
20 DEPENDS+=       rgb>=1.0.1:../../x11/rgb
21 CPPFLAGS+=      -DRGB_TXT=\"${PREFIX}/share/X11/rgb.txt\"
22 .else
23 CPPFLAGS+=      -DRGB_TXT=\"${X11BASE}/lib/X11/rgb.txt\"
24 .endif
25
26 .include "../../x11/libXaw/buildlink3.mk"
27 .include "../../x11/libXp/buildlink3.mk"
28 .include "../../x11/libXt/buildlink3.mk"
29 .include "../../mk/bsd.pkg.mk"