1 # $NetBSD: Makefile,v 1.2 2012/03/18 21:23:13 jakllsch Exp $
4 DISTNAME
= xcalib-source-0.8
6 PKGNAME
= ${DISTNAME
:C
/-source
//}
8 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=xcalib
/}
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://xcalib.sourceforge.net
/
12 COMMENT
= Loads VCGT tag of monitor ICC profile into X server LUT
15 WRKSRC
= ${WRKDIR}/${DISTNAME
:C
/-source
//}
18 INSTALLATION_DIRS
= bin
21 cd
${WRKSRC} && ${LIBTOOL} --mode
=compile
${CC} -c xcalib.c
22 cd
${WRKSRC} && ${LIBTOOL} --mode
=link
${CC} \
23 ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11
}/lib \
24 ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm
}/lib \
29 ${SETENV} ${MAKE_ENV} ${LIBTOOL} --tag
=CC
--mode
=install ${INSTALL_PROGRAM} ${WRKSRC}/xcalib
${DESTDIR}${PREFIX}/bin
/
31 .
include "../../x11/xproto/buildlink3.mk"
32 .
include "../../x11/libX11/buildlink3.mk"
33 .
include "../../x11/libXxf86vm/buildlink3.mk"
34 .
include "../../mk/bsd.pkg.mk"