summaryrefslogtreecommitdiff
path: root/emulators/makeppf/Makefile
blob: c21c50c7acedbe2e2f0e65348775a1bd7aaeac02 (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
27
28
# $NetBSD: Makefile,v 1.4 2008/04/07 17:31:25 joerg 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}

INSTALLATION_DIRS=	bin

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"