33 lines
885 B
Makefile
33 lines
885 B
Makefile
# $NetBSD: Makefile,v 1.7 2021/12/08 16:07:13 adam Exp $
|
|
|
|
DISTNAME= redshift-1.12
|
|
PKGREVISION= 4
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jonls/}
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= snj@NetBSD.org
|
|
HOMEPAGE= http://jonls.dk/redshift/
|
|
COMMENT= Adjust screen color temperature based on the position of the sun
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= intltool pkg-config gmake
|
|
USE_TOOLS+= msgfmt msgmerge xgettext
|
|
|
|
CONFIGURE_ARGS+= --disable-gui
|
|
|
|
EGDIR= share/examples/redshift
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/redshift.conf.sample \
|
|
${DESTDIR}${PREFIX}/share/examples/redshift
|
|
|
|
.include "options.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|