blob: a2d197040b8f7c996db067f3e50e6fffdf8f8e99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Greg Lehey <grog@FreeBSD.org>
# $FreeBSD$
PORTNAME= tempcontrol
PORTVERSION= 1.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
USES= readline
MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -Wno-parentheses"
NO_WRKSUBDIR= yes
PLIST_FILES= bin/tempcontrol share/tempcontrol/temperaturecontrolrc.sample \
etc/rc.d/temperaturecontrol.sh.sample
PLIST_DIRS= share/tempcontrol
PORTDOCS= README
OPTIONS_DEFINE= DOCS
# Must (re)generate depedencies, otherwise parallel builds would not work
pre-build:
${MAKE_CMD} -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
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|