From owner-svn-ports-head@freebsd.org  Fri Aug  9 09:02:30 2019
Return-Path: <owner-svn-ports-head@freebsd.org>
Delivered-To: svn-ports-head@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id C1A65C301B;
 Fri,  9 Aug 2019 09:02:30 +0000 (UTC)
 (envelope-from amdmi3@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 464fQG4n5Yz4GsJ;
 Fri,  9 Aug 2019 09:02:30 +0000 (UTC)
 (envelope-from amdmi3@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 869B8B4EA;
 Fri,  9 Aug 2019 09:02:30 +0000 (UTC)
 (envelope-from amdmi3@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7992U8s033909;
 Fri, 9 Aug 2019 09:02:30 GMT (envelope-from amdmi3@FreeBSD.org)
Received: (from amdmi3@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7992UQO033907;
 Fri, 9 Aug 2019 09:02:30 GMT (envelope-from amdmi3@FreeBSD.org)
Message-Id: <201908090902.x7992UQO033907@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to
 amdmi3@FreeBSD.org using -f
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Fri, 9 Aug 2019 09:02:30 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r508430 - in head/misc/digitemp: . files
X-SVN-Group: ports-head
X-SVN-Commit-Author: amdmi3
X-SVN-Commit-Paths: in head/misc/digitemp: . files
X-SVN-Commit-Revision: 508430
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, 
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Aug 2019 09:02:30 -0000

Author: amdmi3
Date: Fri Aug  9 09:02:29 2019
New Revision: 508430
URL: https://svnweb.freebsd.org/changeset/ports/508430

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Simplify docs installation
  - Respect CFLAGS
  - Update WWW

Added:
  head/misc/digitemp/files/patch-Makefile   (contents, props changed)
Modified:
  head/misc/digitemp/Makefile
  head/misc/digitemp/pkg-descr

Modified: head/misc/digitemp/Makefile
==============================================================================
--- head/misc/digitemp/Makefile	Fri Aug  9 09:01:37 2019	(r508429)
+++ head/misc/digitemp/Makefile	Fri Aug  9 09:02:29 2019	(r508430)
@@ -9,26 +9,26 @@ 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
@@ -39,12 +39,7 @@ do-install:
 	@${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 <bsd.port.mk>

Added: head/misc/digitemp/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/digitemp/files/patch-Makefile	Fri Aug  9 09:02:29 2019	(r508430)
@@ -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

Modified: head/misc/digitemp/pkg-descr
==============================================================================
--- head/misc/digitemp/pkg-descr	Fri Aug  9 09:01:37 2019	(r508429)
+++ head/misc/digitemp/pkg-descr	Fri Aug  9 09:02:29 2019	(r508430)
@@ -6,4 +6,4 @@ following 1-wire temperature sensors: DS18S20 (and DS1
 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