summaryrefslogtreecommitdiff
path: root/sysutils/mklivecd/Makefile
blob: 4bfada3434ef7ec95f3809284c54f67f14c2b81c (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
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.2 2004/02/27 01:32:31 xtraeme Exp $

DISTNAME=	mklivecd-0.2
CATEGORIES=	sysutils
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	xtraeme@NetBSD.org
COMMENT=	Build a NetBSD i386 Live CD via command line

DEPENDS+=	cdrecord-[0-9]*:../../sysutils/cdrecord

PKG_INSTALLATION_TYPES=	overwrite pkgviews

ONLY_FOR_PLATFORM=	NetBSD-*-i386

WRKSRC=		${WRKDIR}
EXTRACT_ONLY=	# empty
NO_CHECKSUM=	YES
NO_CONFIGURE=	YES
NO_BUILDLINK=	YES
NO_BUILD=	YES
USE_LANGUAGES=	# empty

INSTALLATION_DIRS=	share/mklivecd sbin

FILES=	    bootkern.mk Makefile.bootfloppy \
	    KERN-LIVECD mfs_rcd personal_config

do-install:
	@${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/mklivecd.sh > \
	    ${WRKDIR}/mklivecd
	${INSTALL_DATA_DIR} ${PREFIX}/share/mklivecd
	${INSTALL_SCRIPT} ${WRKDIR}/mklivecd ${PREFIX}/sbin
	${INSTALL_MAN} ${FILESDIR}/mklivecd.8 ${PREFIX}/man/man8
.for F in ${FILES}
	${INSTALL_DATA} ${FILESDIR}/${F} ${PREFIX}/share/mklivecd
.endfor

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