- add missing RCS tags

- respect $CC
- add NO_REGRESS
- s/$LOCALBASE/$PREFIX and don't hardcode paths
- lowercase MAINTAINER's email

ok jasper@ sthen@ marco@ todd@ (MAINTAINER)
This commit is contained in:
ajacoutot 2008-01-20 15:11:05 +00:00
parent 37b72587d2
commit 07aa770cf2
4 changed files with 21 additions and 8 deletions

View File

@ -1,13 +1,16 @@
# $OpenBSD: Makefile,v 1.3 2008/01/20 15:11:05 ajacoutot Exp $
ONLY_FOR_ARCHS= i386 amd64
COMMENT= QEMU accelerator module
DISTNAME= kqemu-1.3.0pre11
PKGNAME= ${DISTNAME}p0
CATEGORIES= emulators
HOMEPAGE= http://fabrice.bellard.free.fr/qemu/
MAINTAINER= Todd T. Fries <todd@OpenBSD.org>
MAINTAINER= Todd T. Fries <todd@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
@ -20,8 +23,15 @@ MASTER_SITES= ${HOMEPAGE}
BUILD_DEPENDS= ::devel/gmake
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --cc=${CC} \
--host-cc=${CC} \
--make=${MAKE_PROGRAM}
MAKE_FILE= Makefile.openbsd
PREFIX= ${LOCALBASE}/lib/kqemu
INSTDIR= ${PREFIX}/lib/kqemu
SUBST_VARS= INSTDIR
NO_REGRESS= Yes
FILES= Makefile.openbsd kqemu-openbsd.c
@ -31,7 +41,7 @@ post-extract:
.endfor
do-install:
${INSTALL_DATA_DIR} ${PREFIX}
${INSTALL_DATA} ${WRKBUILD}/kqemu.o ${PREFIX}
${INSTALL_DATA_DIR} ${INSTDIR}
${INSTALL_DATA} ${WRKBUILD}/kqemu.o ${INSTDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
# $OpenBSD
NOMAN = noman
.if ${MACHINE_ARCH} == "i386"

View File

@ -1,8 +1,8 @@
If you want to load this kernel module at boot time, add the following
lines to /etc/rc.securelevel :
if [ -r /usr/local/lib/kqemu/kqemu.o ]; then
echo ' kqemu'; /sbin/modload /usr/local/lib/kqemu/kqemu.o
if [ -r ${INSTDIR}/kqemu.o ]; then
echo ' kqemu'; /sbin/modload ${INSTDIR}/kqemu.o
fi
If you want a user to be able to use this module, add them to the group

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/19 23:55:19 todd Exp $
@comment $OpenBSD: PLIST,v 1.2 2008/01/20 15:11:05 ajacoutot Exp $
@newgroup _kqemu:597
kqemu.o
lib/kqemu/
lib/kqemu/kqemu.o