summaryrefslogtreecommitdiff
path: root/x11/xicc/Makefile
blob: b39dc2bdd1fefd0d9950bb1c5164c91ed3407a5a (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
27
28
29
# $NetBSD: Makefile,v 1.6 2012/10/29 05:07:12 asau Exp $
#

DISTNAME=	xicc-0.1
PKGREVISION=	4
CATEGORIES=	x11
MASTER_SITES=	http://www.burtonini.com/computing/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.burtonini.com/computing/xicc
COMMENT=	Load ICC profile into X server
LICENSE=	generic-nonlicense

USE_TOOLS+=	pkg-config
USE_LIBTOOL=	yes
INSTALLATION_DIRS=	bin

do-build:
	cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} \
		`pkg-config --cflags x11 glib-2.0` -c xicc.c
	cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} \
		`pkg-config --libs x11 glib-2.0` -o xicc xicc.lo

do-install:
	${LIBTOOL} --tag=CC --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/xicc ${DESTDIR}${PREFIX}/bin/

.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"