aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-xmpp-devel/Makefile
blob: 06629f81137145f070ab1a83bf377a8b7ed6e5fe (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
# New ports collection makefile for:   irssi-xmpp
# Date created:                11 September 2007
# Whom:                        Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$

PORTNAME=   irssi-xmpp
PORTVERSION=    0.13
CATEGORIES= irc
MASTER_SITES=   http://cybione.org/src/irssi-xmpp/

MAINTAINER= jadawin@tuxaco.net
COMMENT=    Irssi-xmpp is an irssi plugin to connect to the Jabber network

BUILD_DEPENDS=  irssi:${PORTSDIR}/irc/irssi
RUN_DEPENDS=    irssi:${PORTSDIR}/irc/irssi
LIB_DEPENDS=    loudmouth:${PORTSDIR}/net-im/loudmouth

USE_GMAKE=  yes
USE_LDCONFIG=   yes
MAKE_ENV=   IRSSI_INCLUDE="${LOCALBASE}/include/irssi/"

PLIST_FILES=    lib/irssi/modules/libfe_xmpp.so \
        lib/irssi/modules/libxmpp_core.so
PORTDOCS=   README

do-install:
.for data in core fe-common
    ${MKDIR} ${PREFIX}/lib/irssi/modules
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${data}/*.so \
        ${PREFIX}/lib/irssi/modules
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>