aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/libicq2000/Makefile
blob: bba48f54d88324a9d131e56858d8d2e42cf6f56c (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
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    libicq2000
# Date created:             Sat Apr 27 10:36:05 BRT 2002
# Whom:                 Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libicq2000
PORTVERSION=    0.3.2
PORTREVISION=   2
CATEGORIES= net-im
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An opensource C++ library to support icq2000/2001 protocol

LIB_DEPENDS=    sigc.1:${PORTSDIR}/devel/libsigc++

USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS= --disable-static
USE_LDCONFIG=   yes

MAN1=   libicq2000-config.1

PORTDOCS=   AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
        TODO

post-patch:
    @${REINPLACE_CMD} -E -e \
        's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \
        ${WRKSRC}/libicq2000/Makefile.in
    @${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \
        ${WRKSRC}/libicq2000-config.in

pre-configure:
    @${CP} ${LTMAIN} ${WRKSRC}

post-install:
.ifndef(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>