freebsd-ports/sysutils/fvcool/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: fvcool
# Date created: 5 October 2002
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#
PORTNAME= fvcool
PORTVERSION= 1.0.4
CATEGORIES= sysutils
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/fvcool/ \
http://www.infracaninophile.co.uk/fvcool/
DISTNAME= FVCool${PORTVERSION:S/.//g}
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
ONLY_FOR_ARCHS= i386
2003-07-27 18:40:37 +02:00
GNU_CONFIGURE= yes
USE_RC_SUBR= fvcool.sh
SUB_FILES= pkg-message
SUB_LIST+= "PORTNAME=${PORTNAME}"
ALL_TARGET= fvcool
PLIST_SUB+= DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,}
PORTDOCS= ReadMe ReadMe.jp ReadMe.tech_KT133
PLIST_FILES= sbin/fvcool
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
do-install: install-doc
2003-07-27 18:40:37 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${PREFIX}/sbin/fvcool
post-install:
@${CAT} ${PKGMESSAGE}
install-doc:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
2003-07-27 18:40:37 +02:00
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>