diff options
-rw-r--r-- | etc/rc.d/Makefile | 9 | ||||
-rw-r--r-- | release/packages/apm-debug.ucl | 13 | ||||
-rw-r--r-- | release/packages/apm.ucl | 13 | ||||
-rw-r--r-- | usr.sbin/apm/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/apmd/Makefile | 2 |
5 files changed, 37 insertions, 2 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 1f658aa..1929718 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -154,8 +154,9 @@ AMD+= amd .endif .if ${MK_APM} != "no" -FILES+= apm -FILES+= apmd +FILESGROUPS+= APM +APM+= apm +APM+= apmd .endif .if ${MK_AUTOFS} != "no" @@ -322,4 +323,8 @@ ACCTDIR= /etc/rc.d ACCTMODE= ${BINMODE} ACCTPACKAGE= acct +APMDIR= /etc/rc.d +APMMODE= ${BINMODE} +APMPACKAGE= apm + .include <bsd.prog.mk> diff --git a/release/packages/apm-debug.ucl b/release/packages/apm-debug.ucl new file mode 100644 index 0000000..2cb275b --- /dev/null +++ b/release/packages/apm-debug.ucl @@ -0,0 +1,13 @@ +name = "FreeBSD-%PKGNAME%" +origin = "base" +version = "%VERSION%" +comment = "Advanced Power Management Utilities (debugging symbols)" +categories = [ base ] +maintainer = "re@FreeBSD.org" +www = "https://www.FreeBSD.org" +prefix = "/" +licenselogic = "single" +licenses = [ BSD2CLAUSE ] +desc = <<EOD +%DESC% +EOD diff --git a/release/packages/apm.ucl b/release/packages/apm.ucl new file mode 100644 index 0000000..660ecff --- /dev/null +++ b/release/packages/apm.ucl @@ -0,0 +1,13 @@ +name = "FreeBSD-%PKGNAME%" +origin = "base" +version = "%VERSION%" +comment = "Advanced Power Management Utilities" +categories = [ base ] +maintainer = "re@FreeBSD.org" +www = "https://www.FreeBSD.org" +prefix = "/" +licenselogic = "single" +licenses = [ BSD2CLAUSE ] +desc = <<EOD +%DESC% +EOD diff --git a/usr.sbin/apm/Makefile b/usr.sbin/apm/Makefile index 3cc6f50..f52453c 100644 --- a/usr.sbin/apm/Makefile +++ b/usr.sbin/apm/Makefile @@ -5,4 +5,6 @@ MAN= apm.8 MLINKS= apm.8 apmconf.8 MANSUBDIR= /${MACHINE_CPUARCH} +PACKAGE=apm + .include <bsd.prog.mk> diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index b2afdfaf..20a4e56 100644 --- a/usr.sbin/apmd/Makefile +++ b/usr.sbin/apmd/Makefile @@ -5,6 +5,8 @@ MAN= apmd.8 MANSUBDIR= /i386 SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h +PACKAGE=apm + WARNS?= 3 LIBADD= l |