summaryrefslogtreecommitdiff
path: root/games/kpuzzle/Makefile
blob: 43c6236437a940a2a7e685d79728c506b9b0a9e0 (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=	1
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>