2002-05-02 05:50:40 +00:00
|
|
|
# New ports collection makefile for: psi
|
|
|
|
# Date created: Wed May 1 20:27:23 NZST 2002
|
|
|
|
# Whom: jonc@chen.org.nz
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= psi
|
2006-03-22 18:40:57 +00:00
|
|
|
PORTVERSION= 0.10
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2005-11-09 08:21:21 +00:00
|
|
|
CATEGORIES= net-im
|
2002-07-12 18:20:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-05-02 05:50:40 +00:00
|
|
|
|
2006-06-19 20:06:59 +00:00
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
2006-05-27 06:51:50 +00:00
|
|
|
COMMENT?= A Qt-based Jabber client
|
2002-05-02 05:50:40 +00:00
|
|
|
|
2005-05-11 13:00:19 +00:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
LIB_DEPENDS= qca.1:${PORTSDIR}/devel/qca
|
2004-01-28 06:24:34 +00:00
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/plugins/crypto/libqca-tls.so:${PORTSDIR}/security/qca-tls
|
|
|
|
|
2002-11-10 17:12:28 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2002-05-02 05:50:40 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
2003-01-29 01:53:08 +00:00
|
|
|
USE_QT_VER= 3
|
2005-04-08 06:37:01 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
|
|
|
|
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
|
2005-05-16 18:44:15 +00:00
|
|
|
PTHREAD_LDFLAGS=${PTHREAD_LIBS} \
|
|
|
|
KDEDIR=${LOCALBASE}
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${X11BASE} \
|
2005-04-08 06:37:01 +00:00
|
|
|
--with-qca-inc=${X11BASE}/include/plugins/qca \
|
2006-03-22 18:40:57 +00:00
|
|
|
--with-qca-lib=${X11BASE}/lib \
|
|
|
|
--disable-growl --disable-dnotify --disable-ghbnr
|
2007-02-13 00:16:29 +00:00
|
|
|
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
|
2004-01-07 13:54:13 +00:00
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2002-05-02 05:50:40 +00:00
|
|
|
|
2006-03-22 18:40:57 +00:00
|
|
|
PORTDOCS= README ChangeLog
|
2005-05-16 18:44:15 +00:00
|
|
|
|
2006-05-27 06:51:50 +00:00
|
|
|
OPTIONS?= GENTOO_EXTRAS "Build with unofficial Gentoo patches" off
|
|
|
|
|
|
|
|
PLIST_SUB= GENTOO="@comment "
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GENTOO_EXTRAS)
|
|
|
|
. include "Makefile.gentoo"
|
|
|
|
.endif
|
|
|
|
|
2004-01-09 11:24:03 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${PREFIX}/bin/psi
|
2006-03-22 18:40:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2004-01-09 11:24:03 +00:00
|
|
|
|
2006-05-27 06:51:50 +00:00
|
|
|
.include <bsd.port.post.mk>
|