From dbb68802ab69ae1388f44e0b71a0c6171425e6a0 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 18 Sep 2015 11:06:12 +0000 Subject: [PATCH] - 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 --- irc/bitlbee/Makefile | 8 +++++--- irc/bitlbee/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile index 4e7de45c17c6..6f3ae2bf7c15 100644 --- a/irc/bitlbee/Makefile +++ b/irc/bitlbee/Makefile @@ -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 handler 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 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 diff --git a/irc/bitlbee/pkg-plist b/irc/bitlbee/pkg-plist index 6bf71d0c6789..96c15c6311aa 100644 --- a/irc/bitlbee/pkg-plist +++ b/irc/bitlbee/pkg-plist @@ -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