Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107292809
D13118.id35313.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D13118.id35313.diff
View Options
Index: misc/Makefile
===================================================================
--- misc/Makefile
+++ misc/Makefile
@@ -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
Index: misc/owrep/Makefile
===================================================================
--- /dev/null
+++ misc/owrep/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= owrep
+PORTVERSION= 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
+
+PLIST_FILES= bin/owrep man/man1/owrep.1.gz man/man5/owrep.conf.5.gz %%ETCDIR%%.conf.sample
+
+.include <bsd.port.mk>
Index: misc/owrep/distinfo
===================================================================
--- /dev/null
+++ misc/owrep/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1508972794
+SHA256 (owrep-1.1.zip) = 53e3ac6951b59619d817230cbf5f514961911ad625bfec4922094189963dfc0a
+SIZE (owrep-1.1.zip) = 21700
Index: misc/owrep/files/patch-Makefile
===================================================================
--- /dev/null
+++ misc/owrep/files/patch-Makefile
@@ -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:
Index: misc/owrep/pkg-descr
===================================================================
--- /dev/null
+++ misc/owrep/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 2:39 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15775309
Default Alt Text
D13118.id35313.diff (2 KB)
Attached To
Mode
D13118: New port: misc/owrep: Weather reporting program based on openweathermap.org
Attached
Detach File
Event Timeline
Log In to Comment