aboutsummaryrefslogtreecommitdiffstats
path: root/dns/libnspsl/Makefile
blob: b88e9f7283689eeafff4302f2c237d3abb84e74e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   libnspsl
PORTVERSION=    0.1.0
CATEGORIES= dns
MASTER_SITES=   http://download.netsurf-browser.org/libs/releases/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    NetSurf public suffix list handling

LICENSE=    MIT

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

USES=   gmake
USE_LDCONFIG=   yes

MAKE_ENV+=  COMPONENT_TYPE="lib-shared"

WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}

PLIST_SUB+= VERSION=${PORTVERSION}

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

.include <bsd.port.mk>