2005-07-29 14:17:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2005/07/29 12:17:20 xtraeme Exp $
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2005-07-29 14:13:01 +02:00
|
|
|
DISTNAME= mklivecd-0.12.0
|
2004-02-26 04:58:50 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
2005-07-29 14:13:01 +02:00
|
|
|
COMMENT= Make your own NetBSD/i386 Live CD-ROM/DVD-ROM
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2004-10-29 22:44:32 +02:00
|
|
|
DEPENDS+= {cdrecord,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrecord
|
2005-07-29 14:17:20 +02:00
|
|
|
DEPENDS+= grub>=0.98:../../sysutils/grub
|
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_BUILD= YES
|
2005-05-16 03:32:22 +02:00
|
|
|
USE_TOOLS+= tar
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2004-05-19 14:22:42 +02:00
|
|
|
INSTALLATION_DIRS= man/man8 sbin share/mklivecd
|
2004-02-26 04:58:50 +01:00
|
|
|
|
2004-10-29 19:47:30 +02:00
|
|
|
FILES= KERN-LIVECD personal_config
|
2004-02-26 04:58:50 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-07-29 14:13:01 +02:00
|
|
|
.for f in mfs_rcd mklivecd.sh mklivecd.8
|
2004-04-26 19:28:58 +02:00
|
|
|
@${SED} -e "s,@PREFIX@,${PREFIX},g" \
|
2004-05-20 04:11:41 +02:00
|
|
|
-e "s,@LOCALBASE@,${LOCALBASE},g" \
|
2004-10-29 19:47:30 +02:00
|
|
|
-e "s,@TAR@,${TAR},g" \
|
2004-04-26 19:28:58 +02:00
|
|
|
-e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \
|
2004-10-29 19:47:30 +02:00
|
|
|
${FILESDIR}/${f} > ${WRKDIR}/${f}
|
|
|
|
.endfor
|
2004-02-26 04:58:50 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mklivecd
|
2004-10-29 19:47:30 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${PREFIX}/sbin/mklivecd
|
2005-07-29 14:13:01 +02:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${PREFIX}/man/man8
|
2004-10-29 19:47:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/mfs_rcd ${PREFIX}/share/mklivecd
|
2004-02-26 04:58:50 +01:00
|
|
|
.for F in ${FILES}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${F} ${PREFIX}/share/mklivecd
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|