1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/est/Makefile
Colin Percival 8968cce14b A much-needed cleanup of the portification of this code:
Remove PREFIX/modules directory if it doesn't contain other modules;
  use static plist (new file: pkg-plist).
  Switch to a modern USE_RC_SUBR (moved file: files/est.sh --> files/est.in).
  Silence install here and there.
  Fix IGNORE message.
  IGNORE if no kernel sources installed.
  Bump PORTREVISION for plist change.

PR:		ports/93985
Submitted by:	itetcu (who really needs to get a commit bit soon...)
2006-03-18 00:32:05 +00:00

40 lines
788 B
Makefile

# New ports collection makefile for: Enhanced SpeedStep driver
# Date created: 21 August 2004
# Whom: cperciva@daemonology.net
#
# $FreeBSD$
#
PORTNAME= est
PORTVERSION= 0.7.2
PORTREVISION= 2
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}"
USE_RC_SUBR= ${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 600015
IGNORE= is now contained in the base system (see cpufreq(4))
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= needs kernel source files
.endif
pre-install:
@${MKDIR} ${KMODDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>