diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-10-17 03:32:08 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-10-17 03:32:08 +0000 |
commit | 372a9dff9b7ec782a8dea57c94bc25d65fb3088d (patch) | |
tree | afe77a1242c15edc1f727fc61b1be9d9fbbdfc5e /sysutils/fvcool/Makefile | |
parent | Update to 1.0.2; remove PLIST. (diff) |
Update to 1.0.4; convert to rc.subr; assign maintainership to submitter.
PR: ports/72101
Submitted by: Matthew Seaman <m dot seaman at infracaninophile dot co dot uk>
Diffstat (limited to 'sysutils/fvcool/Makefile')
-rw-r--r-- | sysutils/fvcool/Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/fvcool/Makefile b/sysutils/fvcool/Makefile index bfed0ab27333..780ea2dc2ce3 100644 --- a/sysutils/fvcool/Makefile +++ b/sysutils/fvcool/Makefile @@ -6,30 +6,45 @@ # PORTNAME= fvcool -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= sysutils MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ DISTNAME= FVCool${PORTVERSION:S/.//g} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= m.seaman@infracaninophile.co.uk COMMENT= VCool for FreeBSD - Cooling software for AMD Athlon/Duron CPUs ONLY_FOR_ARCHS= i386 USE_REINPLACE= yes GNU_CONFIGURE= yes +USE_RC_SUBR= yes ALL_TARGET= fvcool PLIST_SUB+= DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,} +MSG_FILE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message -DOC_FILES= 00README.txt 00READMEj.txt 00READMEkt133.txt +SED_SCRIPT= -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ + -e 's,%%PORTNAME%%,${PORTNAME},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' + +DOC_FILES= ReadMe ReadMe.jp ReadMe.tech_KT133 post-patch: @${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \ s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in +post-build: + @${SED} ${SED_SCRIPT} ${SCRIPTDIR}/${PORTNAME}.sh \ + > ${WRKDIR}/${PORTNAME}.sh + @${SED} ${SED_SCRIPT} ${MSG_FILE} \ + > ${PKGMESSAGE} + do-install: install-doc ${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${PREFIX}/sbin/fvcool post-install: + @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \ + ${PREFIX}/etc/rc.d/${PORTNAME}.sh @${CAT} ${PKGMESSAGE} install-doc: |