Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 11:06:12 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397230 - head/irc/bitlbee
Message-ID:  <201509181106.t8IB6C6x090665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Fri Sep 18 11:06:12 2015
New Revision: 397230
URL: https://svnweb.freebsd.org/changeset/ports/397230

Log:
  - Install headers and pkg-config entry, it's useful for people that want to
    build plugins manually or possible plugin ports
  - Instead of use --strip=0 and call STRIP_CMD later, let bitlbee build
    scripts to strip binaries
  - Bump PORTREVISION

Modified:
  head/irc/bitlbee/Makefile
  head/irc/bitlbee/pkg-plist

Modified: head/irc/bitlbee/Makefile
==============================================================================
--- head/irc/bitlbee/Makefile	Fri Sep 18 09:56:28 2015	(r397229)
+++ head/irc/bitlbee/Makefile	Fri Sep 18 11:06:12 2015	(r397230)
@@ -2,7 +2,7 @@
 
 PORTNAME=	bitlbee
 PORTVERSION=	3.4.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	irc
 MASTER_SITES=	http://get.bitlbee.org/src/ \
 		LOCAL/brix
@@ -46,7 +46,8 @@ LIBEVENT_DESC=		Use libevent as event ha
 
 OPTIONS_DEFAULT=	GLIB GNUTLS JABBER OSCAR TWITTER YAHOO
 
-CONFIGURE_ARGS=	--config=/var/db/bitlbee --strip=0
+CONFIGURE_ARGS=		--config=/var/db/bitlbee \
+			--pcdir=${PREFIX}/libdata/pkgconfig
 
 DEBUG_CONFIGURE_ON=	--debug=1
 GNUTLS_CONFIGURE_ON=	--ssl=gnutls
@@ -76,6 +77,8 @@ GROUPS=		bitlbee
 .include <bsd.port.options.mk>
 
 post-patch:
+	@${REINPLACE_CMD} -e '/^install:/ s/$$/ install-dev/' \
+		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e "s|^\(EFLAGS=.*\)|\1 ${LDFLAGS}|" \
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e "s:/etc/bitlbee/motd.txt:${ETCDIR}/motd.txt:" \
@@ -85,7 +88,6 @@ post-patch:
 		${WRKSRC}/doc/bitlbee.8
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/bitlbee
 .if ${PORT_OPTIONS:MSKYPE}
 	${MV} ${STAGEDIR}${PREFIX}/etc/skyped/skyped.conf \
 		${STAGEDIR}${PREFIX}/etc/skyped/skyped.conf.sample

Modified: head/irc/bitlbee/pkg-plist
==============================================================================
--- head/irc/bitlbee/pkg-plist	Fri Sep 18 09:56:28 2015	(r397229)
+++ head/irc/bitlbee/pkg-plist	Fri Sep 18 11:06:12 2015	(r397230)
@@ -1,6 +1,43 @@
 man/man5/bitlbee.conf.5.gz
 man/man8/bitlbee.8.gz
 sbin/bitlbee
+include/bitlbee/account.h
+include/bitlbee/arc.h
+include/bitlbee/base64.h
+include/bitlbee/bee.h
+include/bitlbee/bitlbee.h
+include/bitlbee/commands.h
+include/bitlbee/conf.h
+include/bitlbee/config.h
+include/bitlbee/dcc.h
+include/bitlbee/events.h
+include/bitlbee/ft.h
+include/bitlbee/ftutil.h
+include/bitlbee/help.h
+include/bitlbee/http_client.h
+include/bitlbee/ini.h
+include/bitlbee/ipc.h
+include/bitlbee/irc.h
+include/bitlbee/json.h
+include/bitlbee/json_util.h
+include/bitlbee/log.h
+include/bitlbee/md5.h
+include/bitlbee/misc.h
+include/bitlbee/nick.h
+include/bitlbee/nogaim.h
+include/bitlbee/oauth.h
+include/bitlbee/oauth2.h
+include/bitlbee/otr.h
+include/bitlbee/proxy.h
+include/bitlbee/query.h
+include/bitlbee/set.h
+include/bitlbee/sha1.h
+include/bitlbee/sock.h
+include/bitlbee/ssl_client.h
+include/bitlbee/storage.h
+include/bitlbee/url.h
+include/bitlbee/xmltree.h
+libdata/pkgconfig/bitlbee.pc
 %%SKYPE%%bin/skyped
 %%SKYPE%%lib/bitlbee/skype.so
 %%SKYPE%%man/man1/skyped.1.gz



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