Make acpi an individual package

Flag /etc/devd/asus.conf as a config file so it will be automatically merged on updates
This commit is contained in:
Baptiste Daroussin 2015-03-05 16:22:31 +00:00
parent 0a48fbc082
commit 0ed8966e5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=279661
4 changed files with 28 additions and 3 deletions

View File

@ -2,7 +2,7 @@
.include <src.opts.mk>
FILES=
FILEGROUPS= FILES
.if ${MACHINE} == "powerpc"
FILES+= apple.conf
@ -10,7 +10,12 @@ FILES+= apple.conf
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
.if ${MK_ACPI} != "no"
FILES+= asus.conf
FILESGROUPS+= ACPI
ACPI= asus.conf
ACPIPACKAGE= acpi
ACPIDIR= /etc/devd
ACPITAGS= config
ACPIMODE= 644
.endif
.if ${MK_HYPERV} != "no"
FILES+= hyperv.conf

View File

@ -140,7 +140,8 @@ FILES+= accounting
.endif
.if ${MK_ACPI} != "no"
FILES+= power_profile
FILESGROUPS+= ACPI
ACPI= power_profile
.endif
.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
@ -293,4 +294,8 @@ UNBOUNDDIR= /etc/rc.d
UNBOUNDMODE= ${BINMODE}
UNBOUNDPACKAGE= unbound
ACPIDIR= /etc/rc.d
ACPIMODE= ${BINMODE}
ACPIPACKAGE= acpi
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
name = "FreeBSD-acpi"
origin = "base"
version = "%VERSION%"
comment = "ACPI tools"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "http://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
TODO
EOD

View File

@ -4,6 +4,8 @@
ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica
CFLAGS+= -I${.CURDIR}/../../../sys
PACKAGE= acpi
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif