summaryrefslogtreecommitdiff
path: root/dns/libnspsl/Makefile
blob: 5658edd82f281aadb489e83ab36783b8109efe4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PORTNAME=	libnspsl
PORTVERSION=	0.1.6
CATEGORIES=	dns
MASTER_SITES=	https://download.netsurf-browser.org/libs/releases/
EXTRACT_SUFX=	-src.tar.gz

MAINTAINER=	nc@FreeBSD.org
COMMENT=	NetSurf public suffix list handling
WWW=		https://www.netsurf-browser.org/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	netsurf-buildsystem>=1.5:devel/netsurf-buildsystem

USES=		gmake
USE_LDCONFIG=	yes
MAKE_ENV+=	BUILD_CC="${CC}" COMPONENT_TYPE="lib-shared"
PLIST_SUB+=	VERSION=${PORTVERSION}

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnspsl.so*

.include <bsd.port.mk>