Create a package for apm(8).

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber
2016-01-21 18:41:55 +00:00
parent 4ffb51fe89
commit 396953934d
5 changed files with 37 additions and 2 deletions
+7 -2
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>
+13
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
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
+2
View File
@@ -5,4 +5,6 @@ MAN= apm.8
MLINKS= apm.8 apmconf.8
MANSUBDIR= /${MACHINE_CPUARCH}
PACKAGE=apm
.include <bsd.prog.mk>
+2
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