2002-10-13 09:12:53 +02:00
|
|
|
# New ports collection makefile for: fvcool
|
|
|
|
# Date created: 5 October 2002
|
|
|
|
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fvcool
|
2004-10-17 05:32:08 +02:00
|
|
|
PORTVERSION= 1.0.4
|
2002-10-13 09:12:53 +02:00
|
|
|
CATEGORIES= sysutils
|
2004-11-17 13:13:34 +01:00
|
|
|
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/fvcool/ \
|
|
|
|
http://www.infracaninophile.co.uk/fvcool/
|
2002-10-13 09:12:53 +02:00
|
|
|
DISTNAME= FVCool${PORTVERSION:S/.//g}
|
|
|
|
|
2004-10-17 05:32:08 +02:00
|
|
|
MAINTAINER= m.seaman@infracaninophile.co.uk
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= VCool for FreeBSD - Cooling software for AMD Athlon/Duron CPUs
|
2002-10-13 09:12:53 +02:00
|
|
|
|
2002-11-26 20:04:14 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2003-07-27 18:40:37 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-09-05 09:20:39 +02:00
|
|
|
USE_RC_SUBR= fvcool.sh
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST+= "PORTNAME=${PORTNAME}"
|
2002-10-13 09:12:53 +02:00
|
|
|
ALL_TARGET= fvcool
|
|
|
|
PLIST_SUB+= DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,}
|
2004-10-17 05:32:08 +02:00
|
|
|
|
2004-11-17 13:13:34 +01:00
|
|
|
PORTDOCS= ReadMe ReadMe.jp ReadMe.tech_KT133
|
2006-09-05 09:20:39 +02:00
|
|
|
PLIST_FILES= sbin/fvcool
|
2002-10-13 09:12:53 +02:00
|
|
|
|
|
|
|
post-patch:
|
2003-07-27 18:40:37 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \
|
|
|
|
s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in
|
2002-10-13 09:12:53 +02:00
|
|
|
|
|
|
|
do-install: install-doc
|
2003-07-27 18:40:37 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${PREFIX}/sbin/fvcool
|
2002-10-13 09:12:53 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
install-doc:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-11-17 13:13:34 +01:00
|
|
|
.for file in ${PORTDOCS}
|
2003-07-27 18:40:37 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2002-10-13 09:12:53 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|