pkgsrc/www/libpsl/Makefile

31 lines
872 B
Makefile

# $NetBSD: Makefile,v 1.13 2020/11/07 09:28:17 nia Exp $
DISTNAME= libpsl-0.21.1
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=rockdaboot/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.lz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rockdaboot/libpsl
COMMENT= Library to handle the Public Suffix List
LICENSE= mit
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --enable-runtime=libidn2
PKGCONFIG_OVERRIDE+= libpsl.pc.in
TEST_TARGET= check
PYTHON_FOR_BUILD_ONLY= tool
.include "../../lang/python/tool.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn2/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"