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:
parent
0a48fbc082
commit
0ed8966e5b
@ -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
|
||||
|
@ -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>
|
||||
|
13
release/packages/acpi/+MANIFEST
Normal file
13
release/packages/acpi/+MANIFEST
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user