2000-02-12 23:09:42 -05:00
|
|
|
# New ports collection makefile for: qhacc
|
|
|
|
# Date created: 28 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 04:49:30 -04:00
|
|
|
PORTNAME= qhacc
|
2000-04-22 01:30:31 -04:00
|
|
|
PORTVERSION= 0.5
|
2000-02-12 23:09:42 -05:00
|
|
|
CATEGORIES= misc
|
2000-02-20 22:48:26 -05:00
|
|
|
MASTER_SITES= ftp://ftp.ostrich-emulators.cx/qhacc/
|
2000-02-12 23:09:42 -05:00
|
|
|
|
2000-03-21 20:59:41 -05:00
|
|
|
MAINTAINER= will@FreeBSD.org
|
2000-02-12 23:09:42 -05:00
|
|
|
|
2000-04-22 01:30:31 -04:00
|
|
|
LIB_DEPENDS= qt2.3:${PORTSDIR}/x11-toolkits/qt21
|
|
|
|
|
|
|
|
USE_NEWGCC= yes
|
2000-02-12 23:09:42 -05:00
|
|
|
USE_X_PREFIX= yes
|
2000-04-22 01:30:31 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-qt="${X11BASE}"
|
2000-02-12 23:09:42 -05:00
|
|
|
MAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}"
|
2000-04-22 01:30:31 -04:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${RM} -f ${WRKSRC}/src/moc_*.cpp
|
2000-02-12 23:09:42 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-04-22 01:30:31 -04:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin/qhacc.exec
|
2000-02-12 23:09:42 -05: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>
|