svn commit: r341618 - head/misc/tempcontrol
Rusmir Dusko
nemysis at FreeBSD.org
Tue Jan 28 16:32:56 UTC 2014
Author: nemysis
Date: Tue Jan 28 16:32:55 2014
New Revision: 341618
URL: http://svnweb.freebsd.org/changeset/ports/341618
QAT: https://qat.redports.org/buildarchive/r341618/
Log:
- Change license BSD to BSD2CLAUSE
- Support STAGEDIR
- Change ${PREFIX}/share/tempcontrol to ${DATADIR}
Modified:
head/misc/tempcontrol/Makefile
Modified: head/misc/tempcontrol/Makefile
==============================================================================
--- head/misc/tempcontrol/Makefile Tue Jan 28 16:24:00 2014 (r341617)
+++ head/misc/tempcontrol/Makefile Tue Jan 28 16:32:55 2014 (r341618)
@@ -9,35 +9,32 @@ MASTER_SITES= http://www.lemis.com/grog/
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list