2002-05-02 07:50:40 +02: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 19:40:57 +01:00
|
|
|
PORTVERSION= 0.10
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2005-11-09 09:21:21 +01:00
|
|
|
CATEGORIES= net-im
|
2002-07-12 20:20:36 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2006-06-19 22:06:59 +02:00
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
2006-05-27 08:51:50 +02:00
|
|
|
COMMENT?= A Qt-based Jabber client
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2005-05-11 15:00:19 +02:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
LIB_DEPENDS= qca.1:${PORTSDIR}/devel/qca
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/plugins/crypto/libqca-tls.so:${PORTSDIR}/security/qca-tls
|
2004-01-28 07:24:34 +01:00
|
|
|
|
2002-11-10 18:12:28 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2002-05-02 07:50:40 +02:00
|
|
|
USE_BZIP2= yes
|
2003-01-29 02:53:08 +01:00
|
|
|
USE_QT_VER= 3
|
2005-04-08 08:37:01 +02:00
|
|
|
|
|
|
|
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
|
|
|
|
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
|
2005-05-16 20:44:15 +02:00
|
|
|
PTHREAD_LDFLAGS=${PTHREAD_LIBS} \
|
|
|
|
KDEDIR=${LOCALBASE}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${LOCALBASE} \
|
|
|
|
--with-qca-inc=${LOCALBASE}/include/plugins/qca \
|
|
|
|
--with-qca-lib=${LOCALBASE}/lib \
|
2006-03-22 19:40:57 +01:00
|
|
|
--disable-growl --disable-dnotify --disable-ghbnr
|
2007-02-13 01:16:29 +01:00
|
|
|
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
|
2004-01-07 14:54:13 +01:00
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2002-05-02 07:50:40 +02:00
|
|
|
|
2006-03-22 19:40:57 +01:00
|
|
|
PORTDOCS= README ChangeLog
|
2005-05-16 20:44:15 +02:00
|
|
|
|
2006-05-27 08:51:50 +02: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 12:24:03 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${PREFIX}/bin/psi
|
2006-03-22 19:40:57 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2004-01-09 12:24:03 +01:00
|
|
|
|
2006-05-27 08:51:50 +02:00
|
|
|
.include <bsd.port.post.mk>
|