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

PORTNAME=   kmastermind
PORTVERSION=    2.2
PORTREVISION=   8
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

DEPRECATED=     Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

LICENSE=        GPLv2
LICENSE_FILE=       ${WRKSRC}/COPYING

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

pre-configure:
    @${TOUCH} ${WRKSRC}/NEWS
    @${LN} -sfh \
        `cd ${PORTSDIR}/x11/kdelibs3 && ${MAKE} -V WRKSRC`/admin \
        ${WRKSRC}/admin
    @${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/kdelibs3-admin-cvs.sh
    @${REINPLACE_CMD} -e s,%%AUTOMAKE_VERSION%%,${AUTOMAKE_VERSION}, \
        ${WRKSRC}/admin/cvs.sh
    cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} -f admin/Makefile.common cvs

.include <bsd.port.mk>