- 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
This commit is contained in:
Renato Botelho 2015-09-18 11:06:12 +00:00
parent 723923702c
commit dbb68802ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397230
2 changed files with 42 additions and 3 deletions

View file

@ -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 <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

View file

@ -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