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
|
2000-04-22 05:30:31 +00:00
|
|
|
PORTVERSION= 0.5
|
2000-02-13 04:09:42 +00:00
|
|
|
CATEGORIES= misc
|
2000-02-21 03:48:26 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ostrich-emulators.cx/qhacc/
|
2000-02-13 04:09:42 +00:00
|
|
|
|
2000-06-22 05:52:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-02-13 04:09:42 +00:00
|
|
|
|
2000-04-22 17:08:40 +00:00
|
|
|
USE_QT2= yes
|
2000-02-13 04:09:42 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-04-22 05:30:31 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-qt="${X11BASE}"
|
2000-02-13 04:09:42 +00:00
|
|
|
MAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}"
|
2000-04-22 05:30:31 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${RM} -f ${WRKSRC}/src/moc_*.cpp
|
2000-02-13 04:09:42 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-04-22 05:30:31 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin/qhacc.exec
|
2000-02-13 04:09:42 +00:00
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/qhacc.sh \
|
|
|
|
> ${PREFIX}/bin/qhacc
|
|
|
|
@${CHMOD} 755 ${PREFIX}/bin/qhacc
|
|
|
|
@${MKDIR} ${PREFIX}/share/qhacc
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/qhacc/config.sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|