diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-02 05:50:40 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-02 05:50:40 +0000 |
commit | d43141d1e3f114b1574e532fe99b9e3096c10ec3 (patch) | |
tree | e3701ec90660928c138f753eaf18caf5d8815835 /net/psi/Makefile | |
parent | 112dad82a6f7b84a8c02501b923f6ebb820d8ac5 (diff) | |
download | ports-d43141d1e3f114b1574e532fe99b9e3096c10ec3.tar.gz ports-d43141d1e3f114b1574e532fe99b9e3096c10ec3.zip |
Notes
Diffstat (limited to 'net/psi/Makefile')
-rw-r--r-- | net/psi/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net/psi/Makefile b/net/psi/Makefile new file mode 100644 index 000000000000..f10aacc5fe2e --- /dev/null +++ b/net/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> |