summaryrefslogtreecommitdiff
path: root/x11/xcolors/Makefile
blob: 611e5ec3d731b6ac14fc44b7914c330ef261ff6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.21 2012/10/29 05:07:00 asau Exp $

DISTNAME=	xcolors
PKGNAME=	xcolors-1.3
PKGREVISION=	5
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.tut.ac.jp/X11/X11R6/contrib/programs/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Display all (ok, most of) the colors in the universe

WRKSRC=		${WRKDIR}/xcolors
USE_IMAKE=	yes

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} == "modular"
DEPENDS+=	rgb>=1.0.1:../../x11/rgb
CPPFLAGS+=	-DRGB_TXT=\"${PREFIX}/share/X11/rgb.txt\"
.else
CPPFLAGS+=	-DRGB_TXT=\"${X11BASE}/lib/X11/rgb.txt\"
.endif

.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"