aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2016-03-02 16:04:11 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2016-03-02 16:04:11 +0000
commit8d809f5d2328b2c11ca0aa1e09733d55f630fca3 (patch)
treee4e7cc810a0df6d085d624a1974fafb9123030c5 /x11
parent2451cd3da6833572f9d5d978bf8b3232c0fda986 (diff)
downloadports-8d809f5d2328b2c11ca0aa1e09733d55f630fca3.tar.gz
ports-8d809f5d2328b2c11ca0aa1e09733d55f630fca3.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/deforaos-libdesktop/Makefile24
-rw-r--r--x11/deforaos-libdesktop/distinfo4
-rw-r--r--x11/deforaos-libdesktop/pkg-plist27
3 files changed, 49 insertions, 6 deletions
diff --git a/x11/deforaos-libdesktop/Makefile b/x11/deforaos-libdesktop/Makefile
index 0d8ac825ae3a..7140aa22743e 100644
--- a/x11/deforaos-libdesktop/Makefile
+++ b/x11/deforaos-libdesktop/Makefile
@@ -2,16 +2,17 @@
# $FreeBSD$
PORTNAME= libdesktop
-PORTVERSION= 0.0.10
+PORTVERSION= 0.2.1
CATEGORIES= x11
-MASTER_SITES= http://www.defora.org/os/download/download/4293/
+MASTER_SITES= http://www.defora.org/os/download/download/4394/
PKGNAMEPREFIX= deforaos-
DISTNAME= libDesktop-${PORTVERSION}
MAINTAINER= olivier@FreeBSD.org
COMMENT= DeforaOS desktop library
-LICENSE= GPLv3
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libSystem.so:${PORTSDIR}/devel/deforaos-libsystem
@@ -19,11 +20,28 @@ USE_GNOME= gtk20
USES= pkgconfig
USE_LDCONFIG= yes
MAKE_ARGS+= PREFIX=${PREFIX}
+MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man
MAKE_JOBS_UNSAFE= yes
+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
post-patch:
${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
${WRKSRC}/data/pkgconfig.sh
+ ${REINPLACE_CMD} 's|-Wl,-pie||g' ${WRKSRC}/tools/Makefile
+ ${REINPLACE_CMD} -e 's|./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"| \
+ #./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"|' \
+ ${WRKSRC}/doc/Makefile
+
+post-patch-DOCS-off:
+ ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/widget \
+ ${STAGEDIR}${PREFIX}/lib/libDesktop.so.0.0
.include <bsd.port.mk>
diff --git a/x11/deforaos-libdesktop/distinfo b/x11/deforaos-libdesktop/distinfo
index f6dde02fa46c..3ca587710667 100644
--- a/x11/deforaos-libdesktop/distinfo
+++ b/x11/deforaos-libdesktop/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libDesktop-0.0.10.tar.gz) = e3071e3c9e69920e5de538b00fce9fbe93f8fd515d11dc4b955f8fb50338d043
-SIZE (libDesktop-0.0.10.tar.gz) = 26732
+SHA256 (libDesktop-0.2.1.tar.gz) = 466e8e92f4371ea90b653f6018ea57ad5622d1d9021a327228b3a6a2d8e79466
+SIZE (libDesktop-0.2.1.tar.gz) = 22801
diff --git a/x11/deforaos-libdesktop/pkg-plist b/x11/deforaos-libdesktop/pkg-plist
index 4145042a97a4..028be291c47c 100644
--- a/x11/deforaos-libdesktop/pkg-plist
+++ b/x11/deforaos-libdesktop/pkg-plist
@@ -1,14 +1,39 @@
+bin/widget
include/Desktop.h
include/Desktop/about.h
include/Desktop/accel.h
include/Desktop/compat.h
+include/Desktop/help.h
include/Desktop/menubar.h
include/Desktop/message.h
include/Desktop/mime.h
include/Desktop/toolbar.h
-include/Desktop/help.h
+include/Desktop/widget.h
lib/libDesktop.a
lib/libDesktop.so
lib/libDesktop.so.0
lib/libDesktop.so.0.0
libdata/pkgconfig/libDesktop.pc
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/api-index-full.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/ch01.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/deprecated-api-index.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/home.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/index.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/index.sgml
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/left-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/left.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-about.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-accel.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-compat.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-help.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-menubar.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-message.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-mime.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop-toolbar.html
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/libDesktop.devhelp2
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/right-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/right.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/style.css
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/up-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/libDesktop/up.png
+%%PORTDOCS%%man/man1/widget.1.gz