mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
50c9f11c81
Set Maintainer back to ports, after successful QT2 -> QT3 update.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: qhacc
|
|
# Date created: 28 Dec 1999
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qhacc
|
|
PORTVERSION= 2.6.1
|
|
CATEGORIES= finance
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_QT_VER= 3
|
|
USE_X_PREFIX= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_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 <bsd.port.mk>
|