freebsd-ports/sysutils/cpupowerd/Makefile
Bernhard Froehlich d9e16b8552 - Mark deprecated and set EXPIRATION_DATE
The project is not maintained from upstream anymore and
only supports ancient AMD K8 CPUs.
2014-02-14 15:25:32 +00:00

42 lines
1 KiB
Makefile

# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
PORTNAME= cpupowerd
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= decke@FreeBSD.org
COMMENT= A CPU over- and undervolting daemon
DEPRECATED= Not maintained from upstream anymore and only supports ancient AMD K8.
EXPIRATION_DATE=2014-05-01
USE_RC_SUBR= cpupowerd
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKE_ENV+= GROUP=wheel \
RIGHTS=555
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 800042 && ${OSVERSION} >= 800000) || ${OSVERSION} < 701102
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu
SUB_LIST+= CPUCTL="cpu"
.else
SUB_LIST+= CPUCTL="cpuctl"
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../CHANGELOG ${DOCSDIR}/CHANGELOG
${INSTALL_DATA} ${WRKSRC}/../COPYING ${DOCSDIR}/COPYING
${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/../TODO ${DOCSDIR}/TODO
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>