summaryrefslogtreecommitdiff
path: root/emulators/hercules-images/Makefile
blob: 6c4737499cf33f560a4f51fa6c59b7379d8b92cd (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.11 2008/03/03 19:21:38 jlam Exp $

DISTNAME=		mftr33
PKGNAME=		hercules-images-20010222
CATEGORIES=		emulators
MASTER_SITES=		http://www.conmicro.cx/hercules/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.conmicro.cx/hercules/
COMMENT=		Images to IPL the Hercules emulator

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			${WRKDIR}
NO_BUILD=		yes
NO_CONFIGURE=		yes
EXTRACT_ONLY=
USE_TOOLS+=		gzcat pax

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/data/hercules
	cd ${DESTDIR}${PREFIX}/share/data/hercules &&			\
		(gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX};		\
		 dd if=/dev/zero bs=10k count=2) | pax -O -r

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