aboutsummaryrefslogtreecommitdiff
path: root/net/psi/Makefile
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2002-11-10 17:12:28 +0000
committerDima Dorfman <dd@FreeBSD.org>2002-11-10 17:12:28 +0000
commitbb613ac89d3c739d6640c539cf952df8b3bf8e55 (patch)
tree3c06b01af6c4431eddd9893633d524fcab8d0803 /net/psi/Makefile
parent7f490138832d9f5d7803b7fba0a8444eade8b999 (diff)
downloadports-bb613ac89d3c739d6640c539cf952df8b3bf8e55.tar.gz
ports-bb613ac89d3c739d6640c539cf952df8b3bf8e55.zip
Notes
Diffstat (limited to 'net/psi/Makefile')
-rw-r--r--net/psi/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/net/psi/Makefile b/net/psi/Makefile
index 578a15740e65..278a8f130b35 100644
--- a/net/psi/Makefile
+++ b/net/psi/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= psi
-PORTVERSION= 0.8.6
-PORTREVISION= 2
+PORTVERSION= 0.8.7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,24 +15,15 @@ MAINTAINER= jonc@chen.org.nz
LIB_DEPENDS= qt-mt.3:${PORTSDIR}/x11-toolkits/qt30
+HAS_CONFIGURE= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
+CONFIGURE_ENV= QTDIR=${X11BASE}
+CONFIGURE_ARGS= -p ${PREFIX}
+MAKE_ARGS+= QTDIR=${X11BASE} \
+ CFLAGS="-pipe -pthread -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT"
BUILD_WRKSRC= ${WRKSRC}/src
-MAKE_ARGS= QTDIR=${X11BASE}
-EXTRA_PATCHES= ${WRKDIR}/patch-common.cpp
-
-pre-patch:
- ${SED} s,%%DATADIR%%,${DATADIR}, ${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} ${DATADIR}
- @cd ${INSTALL_WRKSRC}; \
- ${CP} -r image iconsets sound certs README COPYING ${DATADIR}
- @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/psi ${PREFIX}/bin
+INSTALL_WRKSRC= ${WRKSRC}/src
.include <bsd.port.mk>