Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / xcalib / Makefile
blob033d76f97d3dabff70f95e34ee2813f877280a2b
1 # $NetBSD: Makefile,v 1.2 2012/03/18 21:23:13 jakllsch Exp $
4 DISTNAME= xcalib-source-0.8
5 PKGREVISION= 1
6 PKGNAME= ${DISTNAME:C/-source//}
7 CATEGORIES= x11
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
13 LICENSE= gnu-gpl-v2
15 WRKSRC= ${WRKDIR}/${DISTNAME:C/-source//}
17 USE_LIBTOOL= yes
18 INSTALLATION_DIRS= bin
20 do-build:
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 \
25 -lm -lX11 -lXxf86vm \
26 -o xcalib xcalib.lo
28 do-install:
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"