aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/tuxcards/Makefile
blob: 132d7c0918215d9a9f0d344e032c91ef9ec96f5c (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
36
37
# New ports collection makefile for:    tuxcards
# Date created:             08 Jan 2002
# Whom:         Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   tuxcards
PORTVERSION=    1.0.b2.1
CATEGORIES= deskutils
MASTER_SITES=   http://www.stud.uni-karlsruhe.de/~ut3c/
DISTNAME=   ${PORTNAME}-${PORTVERSION:R:S/.b/beta/}_${PORTVERSION:E}

MAINTAINER= ports@FreeBSD.org

WRKSRC=     ${WRKDIR}/${PORTNAME}
QTDIR?=     ${X11BASE}
USE_QT_VER= 3
USE_REINPLACE=  yes
MAKE_ENV=   QTDIR="${QTDIR}"

post-patch:
    @${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/tuxcards.pro

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
        -spec ${X11BASE}/mkspecs/freebsd-g++ tuxcards.pro

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/en/*.* ${DOCSDIR}
.endif
    ${CAT} pkg-message

.include <bsd.port.mk>