aboutsummaryrefslogtreecommitdiffstats
path: root/misc/qhacc/Makefile
blob: ad80099844f65fde4e852e238497c87fad9b674d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    qhacc
# Date created:     28 Dec 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   qhacc
PORTVERSION=    0.7
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        ftp://ftp.ostrich-emulators.cx/qhacc/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

USE_QT2=    yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  QTDIR="${X11BASE}"

post-extract:
    @${RM} -f ${WRKSRC}/src/moc_*.cpp

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/share/qhacc
    ${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/qhacc/config.sample
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/qhacc
    ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/qhacc
.endif
    @${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}

.include <bsd.port.mk>