29 lines
816 B
Makefile
29 lines
816 B
Makefile
# $NetBSD: Makefile,v 1.10 2021/12/08 16:07:17 adam Exp $
|
|
#
|
|
|
|
DISTNAME= xicc-0.1
|
|
PKGREVISION= 6
|
|
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"
|