blob: bd9aa4c60ef9982516b02ddab7cc928f3af5a435 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: Enhanced SpeedStep driver
# Date created: 21 August 2004
# Whom: cperciva@daemonology.net
#
# $FreeBSD$
#
PORTNAME= est
PORTVERSION= 0.5
CATEGORIES= sysutils
MASTER_SITES= http://www.daemonology.net/freebsd-est/
MAINTAINER= cperciva@daemonology.net
COMMENT= Enhanced SpeedStep driver for Pentium M processors
ONLY_FOR_ARCHS= i386
KMODDIR= ${PREFIX}/modules
MAKE_ARGS= KMODDIR="${KMODDIR}"
PLIST_FILES= modules/est.ko \
etc/rc.d/est.sh
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500023
EXTRA_PATCHES= ${FILESDIR}/est.c.diff.fbsd4
.endif
post-extract:
@${SED} -e 's|@@PREFIX@@|${PREFIX}|' ${FILESDIR}/est.sh \
> ${WRKDIR}/est.sh
pre-install:
${MKDIR} ${KMODDIR}
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/est.sh ${PREFIX}/etc/rc.d/
.include <bsd.port.post.mk>
|