aboutsummaryrefslogtreecommitdiffstats
path: root/irc/libircclient/Makefile
blob: 50ad25e84a49140a710b04c49682f344dd7a5bfb (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
# New ports collection makefile for:    libircclient
# Date created:             2008-11-20
# Whom:                 Julien Laffaye <kimelto@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   libircclient
PORTVERSION=    1.3
CATEGORIES= irc devel
MASTER_SITES=   SF

MAINTAINER= jlaffaye@FreeBSD.org
COMMENT=    An IRC library to create IRC clients

GNU_CONFIGURE=  yes

do-build:
    @${MAKE} -C ${WRKSRC}/src/

do-install:
    @${INSTALL_DATA} ${WRKSRC}/include/libircclient.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/include/libirc_errors.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/include/libirc_events.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/include/libirc_options.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/include/libirc_rfcnumeric.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${PREFIX}/lib

post-install:
.if !defined(NOPORTDOCS)
    @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
    @(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
    @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
    @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>