2000-02-13 04:09:42 +00:00
|
|
|
# New ports collection makefile for: qhacc
|
|
|
|
# Date created: 28 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= qhacc
|
2003-01-22 11:05:04 +00:00
|
|
|
PORTVERSION= 2.6.1
|
2002-11-21 19:30:12 +00:00
|
|
|
CATEGORIES= finance
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-01-28 04:11:11 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-02-13 04:09:42 +00:00
|
|
|
|
2003-01-22 11:11:45 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:24:13 +00:00
|
|
|
COMMENT= Simple QT-based financial manager
|
2000-02-13 04:09:42 +00:00
|
|
|
|
2002-11-21 19:30:12 +00:00
|
|
|
USE_QT_VER= 3
|
2000-02-13 04:09:42 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-11-21 19:30:12 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2000-04-22 05:30:31 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-22 11:05:04 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-11-21 19:30:12 +00:00
|
|
|
CONFIGURE_ARGS= --with-qt-moc=${QT_PREFIX}/bin \
|
|
|
|
--with-qt-libs=${QT_PREFIX}/lib
|
2000-04-22 05:30:31 +00:00
|
|
|
|
2000-12-02 16:38:44 +00:00
|
|
|
post-extract:
|
2000-04-22 05:30:31 +00:00
|
|
|
@${RM} -f ${WRKSRC}/src/moc_*.cpp
|
2000-02-13 04:09:42 +00:00
|
|
|
|
2001-10-19 14:01:17 +00:00
|
|
|
pre-patch:
|
2002-11-21 19:30:12 +00:00
|
|
|
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|^CXXFLAGS =.*$$|CXXFLAGS = \@CXXFLAGS\@|g'
|
2001-10-19 14:01:17 +00:00
|
|
|
|
2000-02-13 04:09:42 +00:00
|
|
|
do-install:
|
2000-09-16 17:56:00 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin
|
2001-07-21 16:26:42 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
2002-11-21 19:30:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${DATADIR}
|
2001-07-21 16:26:42 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/config ${DATADIR}/config.sample
|
2000-09-16 17:56:00 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-07-21 16:26:42 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
2000-09-16 17:56:00 +00:00
|
|
|
.endif
|
|
|
|
@${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}
|
2000-02-13 04:09:42 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|