Update to 3.5.1. Changelog for 3.4.1 states:
  Building documentation is now done with a python script (both 2.x/3.x
  work) Asciidoc/xsltproc/xmlto are no longer build dependencies (dx)

Many thanks to fcambus@ for helping me to get this complete.

Index: net/bitlbee/Makefile
===================================================================
RCS file: /cvs/ports/net/bitlbee/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- net/bitlbee/Makefile        19 Jul 2015 08:22:14 -0000      1.58
+++ net/bitlbee/Makefile        26 May 2017 13:16:33 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               IRC proxy to connect to AIM, ICQ, Jabber and Yahoo
 
-DISTNAME=              bitlbee-3.4
+DISTNAME=              bitlbee-3.5.1
 REVISION=              0
 CATEGORIES=            net
 
@@ -13,7 +13,7 @@ MAINTAINER=           Tom Doherty <tom@singleseco
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB +=             c m pthread glib-2.0 gmodule-2.0 ssl crypto
+WANTLIB +=             c m pthread glib-2.0 gmodule-2.0 ssl crypto intl
 
 MASTER_SITES=          http://get.bitlbee.org/src/
 
@@ -25,7 +25,8 @@ EXAMPLEDIR=           ${PREFIX}/share/examples/bi
 DOCS=                  ${WRKSRC}/doc/user-guide/user-guide.html
 DOCDIR=                        ${PREFIX}/share/doc/bitlbee/
 
-BUILD_DEPENDS=         textproc/xmlto
+BUILD_DEPENDS=         textproc/libxslt
+MODULES=               lang/python
 LIB_DEPENDS=           devel/glib2
 
 CONFIGURE_STYLE=       simple
@@ -62,6 +63,9 @@ NO_TEST=              Yes
 pre-configure:
        find ${WRKSRC} -name Makefile | \
            xargs perl -pi -e 's,@\$$\(CC\),\$$(CC),g'
+
+post-build:
+       ${MAKE_PROGRAM} -C ${WRKSRC}/doc/user-guide user-guide.html
 
 post-install:
        ${INSTALL_DATA_DIR} ${DOCDIR}


Comments? OKs?

-- 
Michal Mazurek

Reply via email to