Date: Thu, 16 Nov 2017 18:41:01 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454323 - in head/misc: . owrep owrep/files Message-ID: <201711161841.vAGIf1A9047064@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Thu Nov 16 18:41:01 2017 New Revision: 454323 URL: https://svnweb.freebsd.org/changeset/ports/454323 Log: New port: misc/owrep: Weather reporting program based on openweathermap.org PR: 223247 Submitted by: Bob Eager <bob@eager.cx> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13118 Added: head/misc/owrep/ head/misc/owrep/Makefile (contents, props changed) head/misc/owrep/distinfo (contents, props changed) head/misc/owrep/files/ head/misc/owrep/files/patch-Makefile (contents, props changed) head/misc/owrep/pkg-descr (contents, props changed) head/misc/owrep/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Thu Nov 16 18:37:08 2017 (r454322) +++ head/misc/Makefile Thu Nov 16 18:41:01 2017 (r454323) @@ -286,6 +286,7 @@ SUBDIR += osinfo-db SUBDIR += ossp-uuid SUBDIR += otter + SUBDIR += owrep SUBDIR += p5-Acme-ButFirst SUBDIR += p5-Array-Compare SUBDIR += p5-Array-Diff Added: head/misc/owrep/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/owrep/Makefile Thu Nov 16 18:41:01 2017 (r454323) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= owrep +DISTVERSION= 1.1 +CATEGORIES= misc +MASTER_SITES= http://www.ml1.org.uk/distfiles/ \ + http://www.ancientgeek.org.uk/distfiles/ + +MAINTAINER= bob@eager.cx +COMMENT= Weather reporting program based on openweathermap.org + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libexpat.so:textproc/expat2 + +USES= localbase:ldflags zip + +.include <bsd.port.mk> Added: head/misc/owrep/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/owrep/distinfo Thu Nov 16 18:41:01 2017 (r454323) @@ -0,0 +1,3 @@ +TIMESTAMP = 1508972794 +SHA256 (owrep-1.1.zip) = 53e3ac6951b59619d817230cbf5f514961911ad625bfec4922094189963dfc0a +SIZE (owrep-1.1.zip) = 21700 Added: head/misc/owrep/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/owrep/files/patch-Makefile Thu Nov 16 18:41:01 2017 (r454323) @@ -0,0 +1,41 @@ +--- Makefile.orig 2017-05-30 23:54:30 UTC ++++ Makefile +@@ -5,10 +5,10 @@ + # + CC?= clang + # +-INSTALL_TO = /usr/local/bin +-INSTALL_MAN1= /usr/local/man/man1 +-INSTALL_MAN5= /usr/local/man/man5 +-INSTALL_ETC= /usr/local/etc ++INSTALL_TO = $(DESTDIR)/$(PREFIX)/bin ++INSTALL_MAN1= $(DESTDIR)/$(PREFIX)/man/man1 ++INSTALL_MAN5= $(DESTDIR)/$(PREFIX)/man/man5 ++INSTALL_ETC= $(DESTDIR)/$(PREFIX)/etc + # + PRODUCT = owrep + # +@@ -38,7 +38,7 @@ CFLAGS+= -O2 $(COMFLAGS) -I /usr/local/i + all: $(PRODUCT) + # + $(PRODUCT): $(OBJ) +- $(CC) -o $(.TARGET) -L /usr/local/lib $(LIBS) $(.ALLSRC) ++ $(CC) -o $(.TARGET) $(LDFLAGS) $(LIBS) $(.ALLSRC) + # + depend: + mkdep $(CFLAGS) $(SRC) +@@ -46,10 +46,10 @@ depend: + install: $(PRODUCT) + gzip -f -k $(MAN1) + gzip -f -k $(MAN5) +- install -s -g wheel -o root $(PRODUCT) $(INSTALL_TO) +- install -g wheel -o root $(MAN1).gz $(INSTALL_MAN1) +- install -g wheel -o root $(MAN5).gz $(INSTALL_MAN5) +- install -g wheel -o root $(CONF) $(INSTALL_ETC) ++ install -s $(PRODUCT) $(INSTALL_TO) ++ install $(MAN1).gz $(INSTALL_MAN1) ++ install $(MAN5).gz $(INSTALL_MAN5) ++ install $(CONF) $(INSTALL_ETC) + rm -f $(MAN1).gz $(MAN5).gz + # + distfile: Added: head/misc/owrep/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/owrep/pkg-descr Thu Nov 16 18:41:01 2017 (r454323) @@ -0,0 +1,4 @@ +This is a basic weather reporting program. It uses data from +openweathermap.org, and uses a worldwide database. + +WWW: http://www.tavi.co.uk Added: head/misc/owrep/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/owrep/pkg-plist Thu Nov 16 18:41:01 2017 (r454323) @@ -0,0 +1,4 @@ +bin/owrep +%%ETCDIR%%.conf.sample +man/man1/owrep.1.gz +man/man5/owrep.conf.5.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711161841.vAGIf1A9047064>