aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/centericq/Makefile
blob: c38f7005adc8d9623c055e263ea7c3a7068d6c8b (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
# ex:ts=8
# New ports collection makefile for:    centericq
# Date created:                         25 December 1999
# Whom:                                 Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   centericq
PORTVERSION=    4.1.0
CATEGORIES= net
MASTER_SITES=   http://konst.org.ua/download/

MAINTAINER= ijliao@FreeBSD.org

LIB_DEPENDS=    intl.1:${PORTSDIR}/devel/gettext

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lintl"

MAN1=   centericq.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400010
LIB_DEPENDS+=   ncurses.5:${PORTSDIR}/devel/ncurses
CFLAGS+=    -nostdinc -I${LOCALBASE}/include/ncurses \
        -I${LOCALBASE}/include -I/usr/include
.endif

post-install:
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>