- Add LICENSE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-03-15 02:32:34 +00:00
parent a6848ce147
commit 03edf66305
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411132

View File

@ -10,11 +10,15 @@ DISTNAME= FVCool${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= VCool for FreeBSD - Cooling software for AMD Athlon/Duron CPUs
LICENSE= BSD3CLAUSE # misses 2nd clause, but it's still not BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/CopyRight
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
USE_RC_SUBR= fvcool
SUB_FILES= pkg-message
SUB_LIST+= "PORTNAME=${PORTNAME}"
SUB_LIST= "PORTNAME=${PORTNAME}"
ALL_TARGET= fvcool
PORTDOCS= ReadMe ReadMe.jp ReadMe.tech_KT133
@ -26,10 +30,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \
s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in
do-install: install-doc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fvcool ${STAGEDIR}${PREFIX}/sbin/fvcool
install-doc:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}