2013-05-23 18:10:43 +02:00
|
|
|
# Created by: Alexey V. Panfilov <sim-im@lehis.ru>
|
2006-04-27 03:03:35 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sim-im-devel
|
2008-07-14 00:48:03 +02:00
|
|
|
PORTVERSION= 0.9.5.2236
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 6
|
2006-04-27 03:03:35 +02:00
|
|
|
CATEGORIES= net-im
|
2006-11-16 13:50:19 +01:00
|
|
|
MASTER_SITES= http://sim-im.lehis.ru/dist/ \
|
|
|
|
http://www.sim-im.lehis.ru/dist/
|
2006-04-27 03:03:35 +02:00
|
|
|
|
2008-07-14 00:48:03 +02:00
|
|
|
MAINTAINER= ports@subnets.ru
|
2006-04-27 03:03:35 +02:00
|
|
|
COMMENT= Plugin-based instant messenger
|
|
|
|
|
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt
|
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
|
|
|
|
2006-08-05 23:47:40 +02:00
|
|
|
CONFLICTS= simicq-[0-9]* sim-im-[0-9]*
|
2006-08-04 10:46:12 +02:00
|
|
|
|
2006-04-27 03:03:35 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-04-27 03:03:35 +02:00
|
|
|
USE_QT_VER= 3
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_XORG= x11 xext xscrnsaver
|
2006-04-27 03:03:35 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_PERL5_BUILD= yes
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2006-04-27 03:03:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-05 23:47:40 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2006-04-27 03:03:35 +02:00
|
|
|
|
2013-05-23 18:10:43 +02:00
|
|
|
OPTIONS_DEFINE= KDE3 DEBUG
|
|
|
|
OPTIONS_DEFAULT= DEBUG
|
2006-04-27 03:03:35 +02:00
|
|
|
|
2013-05-23 18:10:43 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-11-16 13:50:19 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-23 09:12:56 +01:00
|
|
|
post-patch:
|
2013-05-23 18:10:43 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MKDE3}
|
2007-01-23 09:12:56 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \
|
|
|
|
${CONFIGURE_WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
|
2013-05-23 18:10:43 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2006-11-16 13:50:19 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-debug
|
2006-04-27 03:03:35 +02:00
|
|
|
.endif
|
|
|
|
|
2013-05-23 18:10:43 +02:00
|
|
|
.if ${PORT_OPTIONS:MKDE3}
|
2006-04-27 03:03:35 +02:00
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
PLIST_SUB+= KDE="" \
|
|
|
|
SPELL="@comment "
|
2006-11-16 13:50:19 +01:00
|
|
|
.include "${PORTSDIR}/Mk/bsd.kde.mk"
|
2013-05-23 18:10:43 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-kde --enable-mt
|
|
|
|
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
|
|
|
|
PLIST_SUB+= KDE="@comment " \
|
|
|
|
SPELL=""
|
2006-04-27 03:03:35 +02:00
|
|
|
.endif
|
|
|
|
|
2006-11-16 13:50:19 +01:00
|
|
|
.include <bsd.port.post.mk>
|