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

PORTNAME=	kpuzzle
PORTVERSION=	0.4
PORTREVISION=	3
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
USE_AUTOTOOLS=		libtool:15

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>