aboutsummaryrefslogtreecommitdiffstats
path: root/games/kpuzzle/Makefile
blob: c2b592330a712a6dfcb82d99093ec84e047de667 (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
# New ports collection Makefile for:    kpuzzle
# Date created:             2004-09-02
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   kpuzzle
PORTVERSION=    0.4
PORTREVISION=   2
CATEGORIES= games kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kpuzzle
DISTNAME=   ${PORTNAME}-${PORTVERSION}-final

MAINTAINER= ports@FreeBSD.org
COMMENT=    Jigsaw puzzle game for KDE

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2=      yes
USE_KDELIBS_VER=    3
GNU_CONFIGURE=      yes
USE_REINPLACE=      yes

post-patch:
    ${REINPLACE_CMD} -e "s,malloc.h,stdlib.h," \
        ${WRKSRC}/src/highscore.cpp ${WRKSRC}/src/kpuzzlegame.cpp

post-install:
    ${RM} ${PREFIX}/share/doc/HTML/de/kpuzzle

.include <bsd.port.mk>