aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/tuxcards/Makefile
blob: 15d429298230027eacfc3e1bb2eb1d1c0cc83121 (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
# New ports collection makefile for:    tuxcards
# Date created:             08 Jan 2002
# Whom:         Tilman linneweh <freebsdports@arved.de>
#
# $FreeBSD$
#

PORTNAME=   tuxcards
PORTVERSION=    0.8
CATEGORIES= misc kde
MASTER_SITES=   http://tuxcards.de/src/ \
        http://www.arved.de/bsd/src/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1

MAINTAINER= freebsdports@arved.de

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE=  yes
USE_QT_VER= 2
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX}

pre-patch:
    @${PERL} -pi -e 's|\$$\(prefix\)/doc|\$$\(prefix\)/share/doc|' \
        ${WRKSRC}/tuxcards/docs/en/Makefile.in
    @${PERL} -pi -e 's|-O2||' ${WRKSRC}/configure
.ifdef(NOPORTDOCS)
    @${PERL} -pi -e 's|install-data-am\: install-data-local||' \
        ${WRKSRC}/tuxcards/docs/en/Makefile.in
.endif #NOPORTDOCS

.include <bsd.port.mk>