summaryrefslogtreecommitdiffstats
path: root/x11/yelp/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
commit752a66b40a757b50196fb97fda1143a42e96c295 (patch)
tree49bd85e2fc333a96c40e09b46a8027f64b1a470f /x11/yelp/Makefile
parent2d81cfc3ccdf086d3ac5c107818ffe2f73f04d9a (diff)
downloadmarcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.gz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.bz2
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.lz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.xz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.zst
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.zip
Move gnome3 ports into the place of the gnome2 locations.
Update to new port rules, remove conflicts, latest_link, enable stage support. gnome-games was skipped because I got a update for that. gnome-keyring 2 vs 3, needs to be looked at. zenity 2 vs 3, and libgnomekbd 2 vs 3 Use new lib_depend syntax in bsd.gnome.mk. Possible lots of broken links. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/yelp/Makefile')
-rw-r--r--x11/yelp/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
new file mode 100644
index 000000000..201a2640d
--- /dev/null
+++ b/x11/yelp/Makefile
@@ -0,0 +1,45 @@
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
+# $FreeBSD$
+# $MCom: ports/trunk/x11/yelp3/Makefile 18692 2013-09-22 00:45:30Z kwm $
+
+PORTNAME= yelp
+PORTVERSION= 3.6.2
+CATEGORIES= x11 gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Help browser for the GNOME 3 desktop
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/textproc/yelp-xsl \
+ itstool:${PORTSDIR}/textproc/itstool
+LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/yelp-xsl.pc:${PORTSDIR}/textproc/yelp-xsl
+
+USES= desktop-file-utils gettext gmake pathfix pkgconfig
+USE_XZ= yes
+USE_XORG= x11 ice
+USE_GNOME= gnomeprefix intlhack gtk30 libxslt libxml2
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector
+GLIB_SCHEMAS= org.gnome.yelp.gschema.xml
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000)
+CONFIGURE_ENV+= YELP_LZMA_CFLAGS="-I/usr/include" \
+ YELP_LZMA_LIBS="-L/usr/lib -llzma"
+.else
+LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
+.endif
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libyelp.so.0
+
+.include <bsd.port.post.mk>