# New ports collection makefile for: qhacc # Date created: 28 Dec 1999 # Whom: Will Andrews # # $FreeBSD$ # PORTNAME= qhacc PORTVERSION= 2.4 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= kde@FreeBSD.org USE_QT_VER= 3 USE_X_PREFIX= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-qt-moc=${QT_PREFIX}/bin \ --with-qt-libs=${QT_PREFIX}/lib post-extract: @${RM} -f ${WRKSRC}/src/moc_*.cpp pre-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^CXXFLAGS =.*$$|CXXFLAGS = \@CXXFLAGS\@|g' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${DATADIR} ${INSTALL_DATA} ${FILESDIR}/config ${DATADIR}/config.sample .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} .endif @${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE} .include