File:  [cvs.NetBSD.org] / pkgsrc / x11 / hsetroot / Makefile
Revision 1.32: download - view: text, annotated - select for diffs
Wed Aug 2 16:17:19 2023 UTC (15 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.

# $NetBSD: Makefile,v 1.32 2023/08/02 16:17:19 nia Exp $

DISTNAME=	hsetroot-1.0.5
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=himdel/}

MAINTAINER=	nia@NetBSD.org
HOMEPAGE=	https://github.com/himdel/hsetroot
COMMENT=	Allows you to compose wallpapers for X
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	gmake pkg-config

# error: 'for' loop initial declarations are only allowed in C99 mode
FORCE_C_STD=	c99

BUILDLINK_TRANSFORM.Darwin+=	rm:-Wl,--no-as-needed
BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--no-as-needed

INSTALLATION_DIRS+=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hsetroot ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/hsr-outputs ${DESTDIR}${PREFIX}/bin

.include "../../graphics/imlib2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>