Index: head/misc/digitemp/Makefile =================================================================== --- head/misc/digitemp/Makefile (revision 508429) +++ head/misc/digitemp/Makefile (revision 508430) @@ -1,50 +1,45 @@ # Created by: Evaldas Auryla # $FreeBSD$ PORTNAME= digitemp PORTVERSION= 3.6.0 CATEGORIES= misc MASTER_SITES= http://www.digitemp.com/software/linux/ MAINTAINER= ports@FreeBSD.org COMMENT= Dallas Semiconductor 1-wire device reading console application -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake -MAKE_ARGS+= CC="${CC}" PLIST_FILES= bin/digitemp_DS9097 bin/digitemp_DS9097U \ etc/digitemp.conf.sample \ man/man1/digitemp.1.gz -DOCFILES= ChangeLog COPYRIGHT CREDITS FAQ README TODO \ - dthowto.txt DS9097_Schematic.gif -DOCDIRS= perl python rrdb -PORTDOCS= ${DOCFILES} ${DOCDIRS} +DOCS= ChangeLog CREDITS FAQ README TODO \ + dthowto.txt DS9097_Schematic.gif \ + perl python/gui python/mysql rrdb +PORTDOCS= * ALL_TARGET= ds9097 ds9097u OPTIONS_DEFINE= DOCS pre-install: - ${REINPLACE_CMD} -e "s/dev\/ttyS/dev\/cuau/g" ${WRKSRC}/${PORTNAME}.1 + @${REINPLACE_CMD} -e "s/dev\/ttyS/dev\/cuau/g" ${WRKSRC}/${PORTNAME}.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/digitemp_DS9097 ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/digitemp_DS9097U ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${FILESDIR}/digitemp.conf.sample ${STAGEDIR}${PREFIX}/etc/ @${ECHO_MSG} "" @${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/digitemp.conf.sample" @${ECHO_MSG} "" -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.for dir in perl python/gui python/mysql rrdb - @${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir} - ${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_DATA} \{\} ${STAGEDIR}${DOCSDIR}/${dir} \; -.endfor +do-install-DOCS-on: + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR} .include Index: head/misc/digitemp/files/patch-Makefile =================================================================== --- head/misc/digitemp/files/patch-Makefile (nonexistent) +++ head/misc/digitemp/files/patch-Makefile (revision 508430) @@ -0,0 +1,13 @@ +--- Makefile.orig 2008-08-28 21:37:00 UTC ++++ Makefile +@@ -11,8 +11,8 @@ + + VERSION = 3.6.0 + +-CC = gcc +-CFLAGS = -I./src -I./userial -O2 -Wall # -g ++CC? = gcc ++CFLAGS += -I./src -I./userial + + OBJS = src/digitemp.o src/device_name.o src/ds2438.o + HDRS = src/digitemp.h src/device_name.h Property changes on: head/misc/digitemp/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/digitemp/pkg-descr =================================================================== --- head/misc/digitemp/pkg-descr (revision 508429) +++ head/misc/digitemp/pkg-descr (revision 508430) @@ -1,9 +1,9 @@ DigiTemp is a simple to use console application for reading values from Dallas Semiconductor 1-wire devices. Its main use is for reading temperature sensors, but it also reads counters and understands the 1-wire hubs with devices on different branches of the network. DigiTemp now supports the following 1-wire temperature sensors: DS18S20 (and DS1820), DS18B20, DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423 Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs) and the AAG TAI-8540 humidity sensor. -WWW: http://www.digitemp.com/software.shtml +WWW: https://www.digitemp.com/software.shtml