1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/centericq/Makefile
Ying-Chieh Liao 9194017081 add libiconv dependence
PR:		36924
Submitted by:	Peter van Dijk <peter@dataloss.nl>
2002-04-09 13:23:26 +00:00

41 lines
1012 B
Makefile

# 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.6.9
CATEGORIES= net
MASTER_SITES= http://konst.org.ua/download/
MAINTAINER= ijliao@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old \
sigc.1:${PORTSDIR}/devel/libsigc++ \
iconv:${PORTSDIR}/converters/libiconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
CONFIGURE_ARGS= --without-included-gettext
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-patch:
@${PERL} -pi -e "s,\$\(pkgdatadir\),\$\(mandir\),g ; \
s,intl,,g" ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>