aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-01-29 00:32:55 +0800
committernemysis <nemysis@FreeBSD.org>2014-01-29 00:32:55 +0800
commit236fdeab234682396a6115ce3f727449b70b7f94 (patch)
tree22225ef99bc68ad660c3df4688f36abf1f08957e /misc
parent29dd390ee730d9ec7d7ca67e425e4a0cb46fb751 (diff)
downloadfreebsd-ports-gnome-236fdeab234682396a6115ce3f727449b70b7f94.tar.gz
freebsd-ports-gnome-236fdeab234682396a6115ce3f727449b70b7f94.tar.zst
freebsd-ports-gnome-236fdeab234682396a6115ce3f727449b70b7f94.zip
- Change license BSD to BSD2CLAUSE
- Support STAGEDIR - Change ${PREFIX}/share/tempcontrol to ${DATADIR}
Diffstat (limited to 'misc')
-rw-r--r--misc/tempcontrol/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/misc/tempcontrol/Makefile b/misc/tempcontrol/Makefile
index d2f5fcaac6b8..0f75a90c4e1c 100644
--- a/misc/tempcontrol/Makefile
+++ b/misc/tempcontrol/Makefile
@@ -9,35 +9,32 @@ 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= BSD
+LICENSE= BSD2CLAUSE
MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -Wno-parentheses"
NO_WRKSUBDIR= yes
-PORTDOCS= README
PLIST_FILES= bin/tempcontrol share/tempcontrol/temperaturecontrolrc.sample \
etc/rc.d/temperaturecontrol.sh.sample
PLIST_DIRS= share/tempcontrol
-OPTIONS_DEFINE= DOCS
+PORTDOCS= README
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+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 ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/tempcontrol
+ ${INSTALL_PROGRAM} ${WRKSRC}/tempcontrol ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/temperaturecontrolrc.sample \
- ${PREFIX}/share/tempcontrol
+ ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/temperaturecontrol.sh.sample \
- ${PREFIX}/etc/rc.d
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${STAGEDIR}${PREFIX}/etc/rc.d
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>