summaryrefslogtreecommitdiff
path: root/emulators/uips/Makefile
blob: 0c1a352c0dc1721be4887bd1c3290a729f3e4a83 (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
29
30
31
# $NetBSD: Makefile,v 1.5 2009/02/24 16:17:29 wiz Exp $
#

DISTNAME=		uips
PKGNAME=		uips-1.0
CATEGORIES=		emulators
MASTER_SITES=		http://www.neillcorlett.com/uips/
DISTFILES=		uips.c uips.txt

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.neillcorlett.com/uips/
COMMENT=		IPS patcher with v2 support

PKG_DESTDIR_SUPPORT=	user-destdir

DIST_SUBDIR=		${PKGNAME_NOREV}

WRKSRC=			${WRKDIR}
INSTALLATION_DIRS=	bin

do-extract:
	${CP} ${_DISTDIR}/uips.c ${WRKSRC}/
	${CP} ${_DISTDIR}/uips.txt ${WRKSRC}/
	${CP} ${FILESDIR}/Makefile ${WRKSRC}/

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/uips ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uips
	${INSTALL_DATA} ${WRKSRC}/uips.txt ${DESTDIR}${PREFIX}/share/doc/uips

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