aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ctrlproxy/Makefile
blob: 66997c64ac160a1d4c11e0b496a9d95577be0fe5 (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
# ex:ts=8
# Ports collection makefile for:    ctrlproxy
# Date created:         Oct 22, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   ctrlproxy
PORTVERSION=    3.0.8
PORTREVISION=   3
CATEGORIES= irc
MASTER_SITES=   http://www.ctrlproxy.org/releases/ \
        LOCAL/chinsan/ctrlproxy/

MAINTAINER= wahjava@gmail.com
COMMENT=    Flexible IRC proxy

LIB_DEPENDS=    gnutls.40:${PORTSDIR}/security/gnutls

USE_GNOME=  glib20 gnometarget
USE_LDCONFIG=   yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       ctrlproxy.1
MAN5=       ctrlproxy_config.5

CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${MANPREFIX}/man/man5
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/help.txt ${DATADIR}/help.txt
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS HACKING NEWS README
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/doc/user-guide.html ${DOCSDIR}
.endif

.include <bsd.port.mk>