blob: 037d3270aa20f9124e746cc74336b602be71b2c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$
PORTNAME= irssi-xmpp
PORTVERSION= 0.52
CATEGORIES= irc
MASTER_SITES= http://cybione.org/~irssi-xmpp/files/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Irssi plugin to connect to Jabber network
LICENSE= GPLv2
BUILD_DEPENDS= irssi:${PORTSDIR}/irc/irssi
LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= pkgconfig
USE_LDCONFIG= yes
MAKE_ARGS= CC="${CC}"
DATADIR= ${PREFIX}/share/irssi
DOCSDIR= ${PREFIX}/share/doc/irssi
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
# Try to unbreak parallel builds (-jX)
@${REINPLACE_CMD} -E 's|cd (.+) && (\$${MAKE})|\2 -C \1|' \
${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
# Uphold CFLAGS
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/config.mk
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|doc-install ||' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>
|