openbsd-ports/emulators/bochs/Makefile
brad 42fc49b4ad - upgrade to Bochs 991023a
- add misssing NO_CDROM and RESTRICTED tags
1999-10-31 20:22:37 +00:00

47 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 1999/10/31 20:22:37 brad Exp $
# $NetBSD: Makefile,v 1.2 1998/09/22 06:11:36 garbled Exp $
DISTNAME= bochs-991023a
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.bochs.com/pub/
NO_CDROM= "Commercial software"
RESTRICTED= "Commercial software"
HOMEPAGE= http://www.bochs.com/
MAINTAINER= ports@openbsd.org
USE_GMAKE= yes
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x11 --enable-vga
WRKSRC= ${WRKDIR}/bochs-991023a
post-configure:
@sed -e 's@XXXPREFIXXXX@${PREFIX}@' \
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
do-install:
@mkdir -p ${PREFIX}/share/bochs/bios
@mkdir -p ${PREFIX}/share/bochs/fonts
@mkdir -p ${PREFIX}/share/doc/bochs
${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990925a ${PREFIX}/share/bochs/bios
${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${PREFIX}/share/bochs/bios
${INSTALL_DATA} ${WRKSRC}/docs-html/LICENSE ${PREFIX}/share/doc/bochs
${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${PREFIX}/share/doc/bochs
${INSTALL_DATA} ${WRKSRC}/docs-html/*.gif ${PREFIX}/share/doc/bochs
${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${PREFIX}/share/bochs/fonts
${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${PREFIX}/share/bochs/fonts
${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${PREFIX}/share/bochs/fonts
${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
@${X11BASE}/bin/mkfontdir ${PREFIX}/share/bochs/fonts
@echo "***"
@echo "*** Don't forget to add ${PREFIX}/share/bochs/fonts"
@echo "*** to FontPath in /etc/XF86Config."
@echo "***"
.include <bsd.port.mk>