From bb613ac89d3c739d6640c539cf952df8b3bf8e55 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Sun, 10 Nov 2002 17:12:28 +0000 Subject: Upgrade to 0.8.7. PR: 44874 Submitted by: Jonathan Chen --- net/psi/Makefile | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'net/psi/Makefile') 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 -- cgit v1.2.3