1998-06-28 05:22:37 +02:00
|
|
|
# New ports collection makefile for: micq
|
1998-10-26 18:58:30 +01:00
|
|
|
# Date created: 11 Oct 1998
|
1998-06-28 05:22:37 +02:00
|
|
|
# Whom: mph
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-06-28 05:22:37 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= micq
|
2005-03-08 13:31:24 +01:00
|
|
|
PORTVERSION= 0.5.0.1
|
1998-06-28 05:22:37 +02:00
|
|
|
CATEGORIES= net
|
2002-10-16 03:57:23 +02:00
|
|
|
MASTER_SITES= http://micq.org/source/ \
|
|
|
|
http://micq.alpha345.com/source/ \
|
|
|
|
http://http.bg.micq.org/source/
|
1998-06-28 05:22:37 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-09-26 11:26:21 +02:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Text-based ICQ implementation
|
2002-04-21 15:27:10 +02:00
|
|
|
|
2003-02-02 16:15:19 +01:00
|
|
|
USE_GMAKE= yes
|
2004-12-15 11:45:11 +01:00
|
|
|
USE_OPENSSL= yes
|
2002-04-22 19:56:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-13 15:17:05 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2000-05-22 10:25:02 +02:00
|
|
|
|
2001-03-21 19:55:23 +01:00
|
|
|
MAN1= micq.1
|
2002-04-20 17:42:43 +02:00
|
|
|
MAN5= micqrc.5
|
|
|
|
MAN7= micq.7
|
2001-03-21 19:55:23 +01:00
|
|
|
|
2003-05-01 23:11:22 +02:00
|
|
|
.if defined(WITHOUT_LIBICONV)
|
|
|
|
CONFIGURE_ARGS+= --disable-iconv
|
|
|
|
.else
|
2004-03-30 21:56:43 +02:00
|
|
|
USE_ICONV= yes
|
2003-05-01 23:11:22 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -liconv
|
2003-01-13 15:17:05 +01:00
|
|
|
.endif
|
|
|
|
|
2003-05-19 03:20:11 +02:00
|
|
|
.if defined(WITHOUT_UTF8)
|
|
|
|
CONFIGURE_ARGS+= --disable-utf8
|
|
|
|
.endif
|
|
|
|
|
2002-04-20 17:42:43 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/micq.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/micqrc.5 ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/micq.7 ${MANPREFIX}/man/man7
|
1998-06-28 05:22:37 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-04-21 15:27:10 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-09-26 11:30:58 +02:00
|
|
|
.for ext in i18n logformat png txt xpm
|
2003-01-13 15:17:05 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${DOCSDIR}
|
|
|
|
.endfor
|
1998-06-28 05:22:37 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|