1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Update to 0.3.0 and add DOCS options

Approved by:	jadawin
Differential Revision:	https://reviews.freebsd.org/D5518
This commit is contained in:
Olivier Cochard 2016-03-02 15:09:11 +00:00
parent f37afb1c38
commit 2451cd3da6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409950
3 changed files with 58 additions and 13 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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