1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/misc/tempcontrol/Makefile

43 lines
1.1 KiB
Makefile

# Created by: Greg Lehey <grog@FreeBSD.org>
# $FreeBSD$
PORTNAME= tempcontrol
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.lemis.com/grog/brewing/src/brewing/tempcontrol/
MAINTAINER= ports@FreeBSD.org
COMMENT= Temperature control for fermenting beer and other applications
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= ncurses readline
NO_WRKSUBDIR= yes
PLIST_FILES= bin/tempcontrol share/tempcontrol/temperaturecontrolrc.sample \
etc/rc.d/temperaturecontrol.sh.sample
PORTDOCS= README
OPTIONS_DEFINE= DOCS
# Must (re)generate depedencies, otherwise parallel builds would not work
pre-build:
${DO_MAKE_BUILD} -C ${WRKSRC} depend
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tempcontrol ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/temperaturecontrolrc.sample \
${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/temperaturecontrol.sh.sample \
${STAGEDIR}${PREFIX}/etc/rc.d
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>