Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 15:09:11 +0000 (UTC)
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409950 - head/devel/deforaos-libsystem
Message-ID:  <201603021509.u22F9BI3046133@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivier
Date: Wed Mar  2 15:09:11 2016
New Revision: 409950
URL: https://svnweb.freebsd.org/changeset/ports/409950

Log:
  Update to 0.3.0 and add DOCS options
  
  Approved by:	jadawin
  Differential Revision:	https://reviews.freebsd.org/D5518

Modified:
  head/devel/deforaos-libsystem/Makefile
  head/devel/deforaos-libsystem/distinfo
  head/devel/deforaos-libsystem/pkg-plist

Modified: head/devel/deforaos-libsystem/Makefile
==============================================================================
--- head/devel/deforaos-libsystem/Makefile	Wed Mar  2 14:40:24 2016	(r409949)
+++ head/devel/deforaos-libsystem/Makefile	Wed Mar  2 15:09:11 2016	(r409950)
@@ -2,16 +2,17 @@
 # $FreeBSD$
 
 PORTNAME=	libsystem
-PORTVERSION=	0.2.0
+PORTVERSION=	0.3.0
 CATEGORIES=	devel
-MASTER_SITES=	http://www.defora.org/os/download/download/4330/
+MASTER_SITES=	http://www.defora.org/os/download/download/4392/
 PKGNAMEPREFIX=	deforaos-
 DISTNAME=	libSystem-${PORTVERSION}
 
 MAINTAINER=	olivier@FreeBSD.org
 COMMENT=	DeforaOS core system library
 
-LICENSE=	GPLv3
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		pkgconfig
 USE_LDCONFIG=	yes
@@ -19,10 +20,16 @@ USE_OPENSSL=	yes
 CPPFLAGS+=	-I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB}
 MAKE_ARGS+=	PREFIX=${PREFIX}
+MAKE_ENV+=	MANDIR=${STAGEDIR}${MANPREFIX}/man
 
 MAKE_JOBS_UNSAFE=	yes
 
-OPTIONS_DEFAULT=	DOCS
+OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt \
+	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
+	gtkdoc-check:${PORTSDIR}/textproc/gtk-doc
+
+BROKEN_FreeBSD_9=	This port works only on FreeBSD 10 and newer
 
 post-patch:
 	${REINPLACE_CMD} 's|/lib/|/libdata/|g' \
@@ -31,10 +38,22 @@ post-patch:
 		${WRKSRC}/src/Makefile
 	${REINPLACE_CMD} 's|CPPFLAGS=|CPPFLAGS+=|' \
 		${WRKSRC}/src/Makefile
-	${REINPLACE_CMD} 's|data doc include|data include|' \
-		${WRKSRC}/Makefile
 	${REINPLACE_CMD} 's|_fail "python.sh"|#_fail "python.sh"|' \
 		${WRKSRC}/tests/tests.sh
+	${REINPLACE_CMD} 's|-Wl,-pie||g' \
+		${WRKSRC}/tools/Makefile \
+		${WRKSRC}/tests/Makefile
+	${REINPLACE_CMD} -e 's|$$(INSTALL)|#$${INSTALL}|' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e 's|$$(MKDIR) $$(DESTDIR)$$(PREFIX)/share/doc/| \
+		#$$(MKDIR) $$(DESTDIR)$$(PREFIX)/share/doc/|' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e 's|./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)configctl.html"| \
+		#./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)configctl.html"|' \
+		${WRKSRC}/doc/Makefile
+
+post-patch-DOCS-off:
+	${REINPLACE_CMD} 's|data doc include|data include|' \
+		${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/configctl \

Modified: head/devel/deforaos-libsystem/distinfo
==============================================================================
--- head/devel/deforaos-libsystem/distinfo	Wed Mar  2 14:40:24 2016	(r409949)
+++ head/devel/deforaos-libsystem/distinfo	Wed Mar  2 15:09:11 2016	(r409950)
@@ -1,2 +1,2 @@
-SHA256 (libSystem-0.2.0.tar.gz) = d6af67eed269e1b5ed0b11a5de86fb21838607dfdbb717c58828af82511af991
-SIZE (libSystem-0.2.0.tar.gz) = 60538
+SHA256 (libSystem-0.3.0.tar.gz) = 83b1419ab7299f4ceca9089ed95add3a28443719aafdee264143dc5ad501c892
+SIZE (libSystem-0.3.0.tar.gz) = 67696

Modified: head/devel/deforaos-libsystem/pkg-plist
==============================================================================
--- head/devel/deforaos-libsystem/pkg-plist	Wed Mar  2 14:40:24 2016	(r409949)
+++ head/devel/deforaos-libsystem/pkg-plist	Wed Mar  2 15:09:11 2016	(r409950)
@@ -1,23 +1,49 @@
 bin/configctl
-include/System/array.h
-include/System/license.h
-include/System/mutator.h
-include/System/variable.h
 include/System.h
+include/System/array.h
 include/System/buffer.h
 include/System/config.h
 include/System/error.h
 include/System/event.h
 include/System/file.h
 include/System/hash.h
+include/System/license.h
+include/System/mutator.h
 include/System/object.h
 include/System/parser.h
 include/System/plugin.h
 include/System/string.h
 include/System/token.h
+include/System/variable.h
 lib/libSystem.a
 lib/libSystem.so
 lib/libSystem.so.0
 lib/libSystem.so.0.0
 libdata/pkgconfig/libSystem.pc
-share/doc/libSystem/README.md
+%%PORTDOCS%%man/man1/configctl.1.gz
+%%PORTDOCS%%share/gtk-doc/html/libSystem/api-index-full.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/ch01.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/deprecated-api-index.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/home.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/index.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/index.sgml
+%%PORTDOCS%%share/gtk-doc/html/libSystem/left-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/left.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-array.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-buffer.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-config.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-error.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-event.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-file.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-hash.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-object.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-parser.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-plugin.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-string.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-token.html
+%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem.devhelp2
+%%PORTDOCS%%share/gtk-doc/html/libSystem/right-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/right.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/style.css
+%%PORTDOCS%%share/gtk-doc/html/libSystem/up-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libSystem/up.png



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