diff options
Diffstat (limited to 'net-im/psi/Makefile')
-rw-r--r-- | net-im/psi/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-im/psi/Makefile b/net-im/psi/Makefile new file mode 100644 index 000000000000..f10aacc5fe2e --- /dev/null +++ b/net-im/psi/Makefile @@ -0,0 +1,37 @@ +# 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> |