pkgsrc/sysutils/mklivecd/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2005/07/29 12:17:20 xtraeme Exp $
DISTNAME= mklivecd-0.12.0
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= xtraeme@NetBSD.org
COMMENT= Make your own NetBSD/i386 Live CD-ROM/DVD-ROM
2004-10-29 22:44:32 +02:00
DEPENDS+= {cdrecord,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrecord
DEPENDS+= grub>=0.98:../../sysutils/grub
PKG_INSTALLATION_TYPES= overwrite pkgviews
ONLY_FOR_PLATFORM= NetBSD-*-i386
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_CHECKSUM= YES
NO_CONFIGURE= YES
NO_BUILD= YES
USE_TOOLS+= tar
2004-05-19 14:22:42 +02:00
INSTALLATION_DIRS= man/man8 sbin share/mklivecd
FILES= KERN-LIVECD personal_config
do-install:
.for f in mfs_rcd mklivecd.sh mklivecd.8
@${SED} -e "s,@PREFIX@,${PREFIX},g" \
-e "s,@LOCALBASE@,${LOCALBASE},g" \
-e "s,@TAR@,${TAR},g" \
-e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
${FILESDIR}/${f} > ${WRKDIR}/${f}
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/mklivecd
${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${PREFIX}/sbin/mklivecd
${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKDIR}/mfs_rcd ${PREFIX}/share/mklivecd
.for F in ${FILES}
${INSTALL_DATA} ${FILESDIR}/${F} ${PREFIX}/share/mklivecd
.endfor
.include "../../mk/bsd.pkg.mk"