diff options
Diffstat (limited to 'finance/qhacc/Makefile')
-rw-r--r-- | finance/qhacc/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile index 8be9234b6f79..c5fb25f5e50c 100644 --- a/finance/qhacc/Makefile +++ b/finance/qhacc/Makefile @@ -6,20 +6,25 @@ # PORTNAME= qhacc -PORTVERSION= 0.3.1 +PORTVERSION= 0.5 CATEGORIES= misc MASTER_SITES= ftp://ftp.ostrich-emulators.cx/qhacc/ -DISTNAME= qhacc_${PORTVERSION} MAINTAINER= will@FreeBSD.org +LIB_DEPENDS= qt2.3:${PORTSDIR}/x11-toolkits/qt21 + +USE_NEWGCC= yes USE_X_PREFIX= yes -USE_QT2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-qt="${X11BASE}" MAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}" -WRKSRC= ${WRKDIR}/qhacc + +pre-build: + @${RM} -f ${WRKSRC}/src/moc_*.cpp do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/qhacc ${PREFIX}/bin/qhacc.exec + @${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin/qhacc.exec @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/qhacc.sh \ > ${PREFIX}/bin/qhacc @${CHMOD} 755 ${PREFIX}/bin/qhacc |