aboutsummaryrefslogtreecommitdiff
path: root/dns/libnspsl/Makefile
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2016-11-21 14:04:24 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2016-11-21 14:04:24 +0000
commit57ffef978c063f0db8f9b63782c2b8c9335dac44 (patch)
tree180c5880b98c8ea13e05e7ea6f90e4d4353004c4 /dns/libnspsl/Makefile
parent5166401e18f62a7c4707c2da0cacee0fc7428473 (diff)
downloadports-57ffef978c063f0db8f9b63782c2b8c9335dac44.tar.gz
ports-57ffef978c063f0db8f9b63782c2b8c9335dac44.zip
Library to generate static code representation of the Public suffix list.
The public suffix list is a database of top level domain names. The database allows an application to determine if if a domain name requires an additional label to be valid. The principle use in a web browser is to restrict supercookies being set although it can also serve secondary purposes in the UI such as domain highlighting. WWW: http://www.netsurf-browser.org/
Notes
Notes: svn path=/head/; revision=426720
Diffstat (limited to 'dns/libnspsl/Makefile')
-rw-r--r--dns/libnspsl/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/dns/libnspsl/Makefile b/dns/libnspsl/Makefile
new file mode 100644
index 000000000000..8fd32eade583
--- /dev/null
+++ b/dns/libnspsl/Makefile
@@ -0,0 +1,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= olivierd@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>