pkgsrc/sysutils/mklivecd/Makefile
xtraeme 3ee187be18 Update to 0.13.0
Changes:

	* New option added: VND_COMPRESSION. To enable vnd(4)
	  compression on /usr and /var/db/pkg (at the moment).
	* Fixed a problem with -k and USE_GNU_GRUB=yes,
	  building a kernel with -k overwrites the "menu.lst"
	  file.
	* Only copy /etc/X11/XF86Config to $ISODIR when there
	  is not a previous file, fixes PR pkg/30889.
	* Renamed the rc.d script mfs_rcd to livecd, because
	  it's not only mfs anymore.

Finally we can have kde-3.4.2 with NetBSD in a live CD-ROM:

416M    netbsd-3.99.7_kde-3.4.2.iso

Enjoy.
2005-08-11 20:48:55 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2005/08/11 20:48:55 xtraeme Exp $
DISTNAME= mklivecd-0.13.0
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= xtraeme@NetBSD.org
COMMENT= Make your own NetBSD/i386 Live CD-ROM/DVD-ROM
DEPENDS+= {cdrecord,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrecord
DEPENDS+= grub>=0.97:../../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
INSTALLATION_DIRS= man/man8 sbin share/mklivecd
FILES= KERN-LIVECD personal_config
do-install:
.for f in livecd 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}/livecd ${PREFIX}/share/mklivecd
.for F in ${FILES}
${INSTALL_DATA} ${FILESDIR}/${F} ${PREFIX}/share/mklivecd
.endfor
.include "../../mk/bsd.pkg.mk"