summaryrefslogtreecommitdiff
path: root/sysutils/estd/Makefile
blob: 410b727595666db36a9005b3d870e21ef46c8178 (plain)
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
# $NetBSD: Makefile,v 1.14 2007/08/25 10:00:53 taca Exp $

DISTNAME=	estd-r5
PKGNAME=	estd-0.5
PKGREVISION=	4
CATEGORIES=	sysutils
MASTER_SITES=	http://www.elektro-eel.org/

MAINTAINER=	dillo@NetBSD.org
HOMEPAGE=	http://www.elektro-eel.org/
COMMENT=	Dynamically sets the CPU-frequency on SpeedStep-enabled CPUs

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	share/examples/rc.d

ONLY_FOR_PLATFORM=	NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \
			NetBSD-[4-9]*-x86_64 DragonFly-*-i386

RCD_SCRIPTS=		estd
RCD_SCRIPT_SRC.estd=	${WRKSRC}/estd.sh

SUBST_CLASSES+=		rc.d
SUBST_STAGE.rc.d=	do-configure
SUBST_MESSAGE.rc.d=	Fixing startup script.
SUBST_FILES.rc.d=	estd.sh
SUBST_SED.rc.d=		-e 's|@PREFIX@|${PREFIX}|'
SUBST_SED.rc.d+=	-e 's|@ECHO@|${ECHO}|'

.include "../../mk/bsd.pkg.mk"