diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-29 00:32:55 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-29 00:32:55 +0800 |
commit | 236fdeab234682396a6115ce3f727449b70b7f94 (patch) | |
tree | 22225ef99bc68ad660c3df4688f36abf1f08957e /misc | |
parent | 29dd390ee730d9ec7d7ca67e425e4a0cb46fb751 (diff) | |
download | freebsd-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/Makefile | 23 |
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> |