Create a package for apm(8).

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2016-01-21 18:41:55 +00:00
parent 3d734e0583
commit ff2a6cddc9
5 changed files with 37 additions and 2 deletions

View File

@ -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>

View File

@ -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

13
release/packages/apm.ucl Normal file
View File

@ -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

View File

@ -5,4 +5,6 @@ MAN= apm.8
MLINKS= apm.8 apmconf.8
MANSUBDIR= /${MACHINE_CPUARCH}
PACKAGE=apm
.include <bsd.prog.mk>

View File

@ -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