summaryrefslogtreecommitdiff
path: root/emulators/makeppf/Makefile
blob: 0928b2bf168a081c85d1ecddf8350e258f84d7e0 (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
25
26
# $NetBSD: Makefile,v 1.3 2008/03/03 19:21:38 jlam Exp $
#

DISTNAME=	makeppf3_src
PKGNAME=	makeppf-3.0
CATEGORIES=	emulators
MASTER_SITES=	# http://www.paradogs.com/download/
EXTRACT_SUFX=	.zip

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

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=	${WRKDIR}

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

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

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