2004-05-19 14:22:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2004/05/19 12:22:42 uebayasi Exp $
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2004-05-01 12:46:10 +02:00
|
|
|
DISTNAME= mklivecd-0.6
|
2004-02-26 04:58:50 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
|
|
|
COMMENT= Build a NetBSD i386 Live CD via command line
|
|
|
|
|
2004-04-26 19:30:33 +02:00
|
|
|
DEPENDS+= cdrecord-[0-9]*:../../sysutils/cdrecord
|
2004-02-26 04:58:50 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2004-05-19 14:22:42 +02:00
|
|
|
INSTALLATION_DIRS= man/man8 sbin share/mklivecd
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2004-04-26 19:28:58 +02:00
|
|
|
FILES= KERN-LIVECD mfs_rcd personal_config
|
2004-02-26 04:58:50 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-04-26 19:28:58 +02:00
|
|
|
@${SED} -e "s,@PREFIX@,${PREFIX},g" \
|
|
|
|
-e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
|
|
|
|
${FILESDIR}/mklivecd.sh > ${WRKDIR}/mklivecd
|
2004-02-26 04:58:50 +01:00
|
|
|
${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"
|