summaryrefslogtreecommitdiff
path: root/emulators/applyppf/Makefile
blob: 1cd104bac35e0bdc1df3bfd1612e61c8271689d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.1.1.1 2007/03/18 19:56:27 wiz Exp $
#

DISTNAME=	applyppf3_src
PKGNAME=	applyppf-3.0
CATEGORIES=	emulators
MASTER_SITES=	http://www.paradogs.com/download/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.paradogs.com/download/
COMMENT=	PPF (Playstation Patch File) v3.0 apply tool

WRKSRC=	${WRKDIR}

do-build:
	cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} \
		-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
		-D_LARGEFILE64_SOURCE -o applyppf applyppf3_linux.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/applyppf ${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"