aboutsummaryrefslogtreecommitdiffstats
path: root/games/kmastermind/Makefile
blob: a53d04ff1ffb901d62a30316624beb2b7766247b (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
# New ports collection Makefile for:    kmastermind
# Date created:             2006-12-09
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   kmastermind
PORTVERSION=    2.2
PORTREVISION=   7
CATEGORIES= games kde
MASTER_SITES=   http://www.kde-apps.org/CONTENT/content-files/
DISTNAME=   20292-${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Mastermind game designed for K Desktop Environment

BUILD_DEPENDS=      ${NONEXISTENT}:${PORTSDIR}/x11/kdelibs3:extract

LICENSE=        GPLv2
LICENSE_FILE=       ${WRKSRC}/COPYING

USE_AUTOTOOLS=      automake:111:env autoconf:268:env libtool:22
USE_PERL5_BUILD=    yes
USE_KDELIBS_VER=    3
USE_BZIP2=      yes
WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}

pre-configure:
    ${LN} -sfh \
        `cd ${PORTSDIR}/x11/kdelibs3 && ${MAKE} -V WRKSRC`/admin \
        ${WRKSRC}/admin
    ${TOUCH} ${WRKSRC}/NEWS
    @${REINPLACE_CMD} -e 's|1.10|1.11|' ${WRKSRC}/admin/cvs.sh
    cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} -f admin/Makefile.common cvs

.include <bsd.port.mk>