Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 16:43:33 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411466 - in head/textproc: . libcss libcss/files
Message-ID:  <201603201643.u2KGhXlq088598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sun Mar 20 16:43:33 2016
New Revision: 411466
URL: https://svnweb.freebsd.org/changeset/ports/411466

Log:
  LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
  written in C.
  
  WWW: http://www.netsurf-browser.org/projects/libcss/

Added:
  head/textproc/libcss/
  head/textproc/libcss/Makefile   (contents, props changed)
  head/textproc/libcss/distinfo   (contents, props changed)
  head/textproc/libcss/files/
  head/textproc/libcss/files/patch-Makefile   (contents, props changed)
  head/textproc/libcss/files/patch-libcss.pc.in   (contents, props changed)
  head/textproc/libcss/pkg-descr   (contents, props changed)
  head/textproc/libcss/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sun Mar 20 16:40:10 2016	(r411465)
+++ head/textproc/Makefile	Sun Mar 20 16:43:33 2016	(r411466)
@@ -387,6 +387,7 @@
     SUBDIR += libabw00
     SUBDIR += libcrm114
     SUBDIR += libcroco
+    SUBDIR += libcss
     SUBDIR += libcsv
     SUBDIR += libcue
     SUBDIR += libe-book

Added: head/textproc/libcss/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/Makefile	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,32 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME=	libcss
+PORTVERSION=	0.6.0
+CATEGORIES=	textproc
+MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER=	olivierd@FreeBSD.org
+COMMENT=	Cascading Style Sheets library
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	netsurf-buildsystem>=1.5:${PORTSDIR}/devel/netsurf-buildsystem
+LIB_DEPENDS=	libwapcaplet.so:${PORTSDIR}/textproc/libwapcaplet \
+	libparserutils.so:${PORTSDIR}/devel/libparserutils
+
+USES=	gmake iconv:wchar_t localbase pkgconfig
+USE_LDCONFIG=	yes
+
+WRKSRC=	${WRKDIR}/${DISTNAME:S/-src//}
+
+MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+LDFLAGS+=	${ICONV_LIB}
+
+PLIST_SUB+=	VERSION=${PORTVERSION}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcss.so*
+
+.include <bsd.port.mk>

Added: head/textproc/libcss/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/distinfo	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,2 @@
+SHA256 (libcss-0.6.0-src.tar.gz) = 4eb5228e5c480e31ba8ca098cedfec3a7ef90302ede77989caedf11670b8e462
+SIZE (libcss-0.6.0-src.tar.gz) = 487389

Added: head/textproc/libcss/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/files/patch-Makefile	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2016-02-16 10:49:56 UTC
++++ Makefile
+@@ -65,5 +65,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):i
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/select.h
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/stylesheet.h
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libcss/types.h
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
++INSTALL_ITEMS := $(INSTALL_ITEMS) /libdata/pkgconfig:lib$(COMPONENT).pc.in
++INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)

Added: head/textproc/libcss/files/patch-libcss.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/files/patch-libcss.pc.in	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,10 @@
+--- libcss.pc.in.orig	2016-02-16 10:49:56 UTC
++++ libcss.pc.in
+@@ -1,6 +1,6 @@
+ prefix=PREFIX
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/LIBDIR
++libdir=${exec_prefix}/lib
+ includedir=${prefix}/INCLUDEDIR
+ 
+ Name: libcss

Added: head/textproc/libcss/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/pkg-descr	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,4 @@
+LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
+written in C.
+
+WWW: http://www.netsurf-browser.org/projects/libcss/

Added: head/textproc/libcss/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libcss/pkg-plist	Sun Mar 20 16:43:33 2016	(r411466)
@@ -0,0 +1,15 @@
+include/libcss/computed.h
+include/libcss/errors.h
+include/libcss/font_face.h
+include/libcss/fpmath.h
+include/libcss/functypes.h
+include/libcss/hint.h
+include/libcss/libcss.h
+include/libcss/properties.h
+include/libcss/select.h
+include/libcss/stylesheet.h
+include/libcss/types.h
+lib/libcss.so
+lib/libcss.so.0
+lib/libcss.so.%%VERSION%%
+libdata/pkgconfig/libcss.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201643.u2KGhXlq088598>