freebsd-ports/net-im/psi/Makefile
Ying-Chieh Liao d43141d1e3 add psi 0.8.5
A Qt-based Jabber client

PR:		37659
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
2002-05-02 05:50:40 +00:00

38 lines
854 B
Makefile

# New ports collection makefile for: psi
# Date created: Wed May 1 20:27:23 NZST 2002
# Whom: jonc@chen.org.nz
#
# $FreeBSD$
#
PORTNAME= psi
PORTVERSION= 0.8.5
CATEGORIES= net
MASTER_SITES= http://psi.affinix.com/files/${PORTVERSION}/
MAINTAINER= jonc@chen.org.nz
LIB_DEPENDS= qt-mt.3:${PORTSDIR}/x11-toolkits/qt30
USE_X_PREFIX= yes
USE_BZIP2= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_ARGS= QTDIR=${X11BASE}
EXTRA_PATCHES= ${WRKDIR}/patch-common.cpp
pre-patch:
${SED} s,%%PREFIX%%,${PREFIX}, ${PATCHDIR}/template.patch-common.cpp > \
${WRKDIR}/patch-common.cpp
pre-build:
cd ${BUILD_WRKSRC}; qmake -spec ${X11BASE}/mkspecs/freebsd-g++ psi.pro
do-install:
${MKDIR} ${PREFIX}/share/psi
cd ${INSTALL_WRKSRC}; \
${CP} -r image iconsets sound README COPYING ${PREFIX}/share/psi
${CP} ${BUILD_WRKSRC}/psi ${PREFIX}/bin
.include <bsd.port.mk>