2007-08-08 01:51:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/08/08 05:51:51 steven Exp $
|
2005-05-19 16:29:58 -04:00
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
COMMENT= multiplatform Jabber client
|
2005-05-19 16:29:58 -04:00
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
DISTNAME= psi-0.10
|
2005-05-19 16:29:58 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
HOMEPAGE= http://psi-im.org/
|
2005-05-19 16:29:58 -04:00
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psi/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2005-05-19 16:29:58 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= X11 Xss m c z Xext pthread stdc++
|
|
|
|
|
2007-08-01 01:50:43 -04:00
|
|
|
MODULES= x11/qt3
|
2007-08-08 01:51:51 -04:00
|
|
|
|
2005-05-19 16:29:58 -04:00
|
|
|
MODQT_OVERRIDE_UIC= No
|
|
|
|
MODQT_MT= Yes
|
|
|
|
|
2007-08-01 01:50:43 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2007-08-08 01:51:51 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= qca.>=1::security/qca
|
|
|
|
RUN_DEPENDS= ::security/qca-tls
|
|
|
|
|
2005-05-19 16:29:58 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
2007-08-08 01:51:51 -04:00
|
|
|
|
2005-05-19 16:29:58 -04:00
|
|
|
CONFIGURE_ARGS+= --qtdir=${MODQT_QTDIR} \
|
|
|
|
--with-qca-inc=${LOCALBASE}/include \
|
|
|
|
--with-qca-lib=${LOCALBASE}/lib \
|
2007-08-08 01:51:51 -04:00
|
|
|
--disable-growl \
|
2005-05-19 16:29:58 -04:00
|
|
|
--disable-dnotify \
|
|
|
|
--disable-ghbnr
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
|
|
|
|
KDEDIR=${LOCALBASE}
|
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
# For QSettings to write its setup
|
|
|
|
PORTHOME= ${WRKDIST}
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2005-05-19 16:29:58 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e "s@%%X11BASE%%@${X11BASE}@" ${WRKSRC}/configure
|
|
|
|
|
2007-08-08 01:51:51 -04:00
|
|
|
# compilation breaks if /usr/local/include/socks.h (from security/dante) is
|
|
|
|
# found before psi's own socks.h, so add a workaround.
|
|
|
|
pre-build:
|
|
|
|
@perl -pi -e 's,INCLUDEPATH.*,,' ${WRKSRC}/conf.pri
|
|
|
|
|
2005-05-19 16:29:58 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/psi ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/psi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/psi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/psi
|
|
|
|
cp -R ${WRKSRC}/iconsets ${PREFIX}/share/psi
|
|
|
|
cp -R ${WRKSRC}/sound ${PREFIX}/share/psi
|
|
|
|
cp -R ${WRKSRC}/certs ${PREFIX}/share/psi
|
|
|
|
cp -R ${WRKSRC}/certs ${PREFIX}/share/psi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libpsi/psiwidgets/libpsiwidgets.so \
|
|
|
|
${PREFIX}/share/psi
|
|
|
|
|
|
|
|
# Icons for KDE
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applnk/Internet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/psi.desktop \
|
|
|
|
${PREFIX}/share/applnk/Internet/
|
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/16x16/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/iconsets/system/default/icon_16.png \
|
2006-03-09 15:40:06 -05:00
|
|
|
${PREFIX}/share/icons/hicolor/16x16/apps/psi.png
|
2005-05-19 16:29:58 -04:00
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/32x32/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/iconsets/system/default/icon_32.png \
|
2006-03-09 15:40:06 -05:00
|
|
|
${PREFIX}/share/icons/hicolor/32x32/apps/psi.png
|
2005-05-19 16:29:58 -04:00
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/48x48/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/iconsets/system/default/icon_48.png \
|
2006-03-09 15:40:06 -05:00
|
|
|
${PREFIX}/share/icons/hicolor/48x48/apps/psi.png
|
2005-05-19 16:29:58 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|