# $FreeBSD: tags/RELEASE_13_0_0/x11-toolkits/gtkd/Makefile 553558 2020-10-28 18:40:13Z romain $

PORTNAME=	gtkd
PORTVERSION=	3.9.0
CATEGORIES=	x11-toolkits
MASTER_SITES=	https://gtkd.org/Downloads/sources/
DISTNAME=	GtkD-${PORTVERSION}

MAINTAINER=	romain@FreeBSD.org
COMMENT=	D binding and OO wrapper of GTK+

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	ldc2:lang/ldc

USES=		gmake zip
WRKSRC=		${WRKDIR}
MAKEFILE=	GNUmakefile

SSP_UNSAFE=	ldc2 does not support -fstack-protector-strong

post-patch:
	${REINPLACE_CMD} -e 's:\$$(libdir)/pkgconfig:$$(prefix)/libdata/pkgconfig:' \
		${WRKSRC}/${MAKEFILE}

.include <bsd.port.mk>
