Tweak irc/ctrlproxy version 3.0.8_6
[dports.git] / irc / ctrlproxy / Makefile
1 # Created by: ijliao
2 # $FreeBSD: irc/ctrlproxy/Makefile 327736 2013-09-20 18:44:49Z bapt $
3
4 PORTNAME=       ctrlproxy
5 PORTVERSION=    3.0.8
6 PORTREVISION=   6
7 CATEGORIES=     irc
8 MASTER_SITES=   http://launchpadlibrarian.net/50016234/ \
9                 LOCAL/ashish/
10
11 MAINTAINER=     ashish@FreeBSD.org
12 COMMENT=        Flexible IRC proxy
13
14 LIB_DEPENDS=    gnutls.26:${PORTSDIR}/security/gnutls
15
16 USE_GNOME=      glib20
17 USE_LDCONFIG=   yes
18 USE_GMAKE=      yes
19 GNU_CONFIGURE=  yes
20 USES=           pkgconfig
21
22 MAN1=           ctrlproxy.1
23 MAN5=           ctrlproxy_config.5
24
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LDFLAGS+=       -L${LOCALBASE}/lib
27
28 NO_STAGE=       yes
29 post-install:
30         ${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${MANPREFIX}/man/man1
31         ${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${MANPREFIX}/man/man5
32         @${MKDIR} ${DATADIR}
33         ${INSTALL_DATA} ${WRKSRC}/doc/help.txt ${DATADIR}/help.txt
34 .if !defined(NOPORTDOCS)
35         @${MKDIR} ${DOCSDIR}
36 .for file in AUTHORS HACKING NEWS README
37         ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
38 .endfor
39         ${INSTALL_DATA} ${WRKSRC}/doc/user-guide.html ${DOCSDIR}
40 .endif
41
42 .include <bsd.port.mk>