Hi ports --

Here's an update for cgo, bringing it to its latest version.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/cgo/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	20 Apr 2014 04:23:46 -0000	1.3
+++ Makefile	25 Oct 2014 16:06:10 -0000
@@ -1,11 +1,10 @@
 # $OpenBSD: Makefile,v 1.3 2014/04/20 04:23:46 bcallah Exp $
 
 COMMENT =	simple terminal based gopher client
-DISTNAME =	cgo-20140220
+DISTNAME =	cgo-20141022
 CATEGORIES =	net
 
 HOMEPAGE =	https://github.com/kieselsteini/cgo/
-
 MAINTAINER =	Brian Callahan <bcal...@openbsd.org>
 
 # ISC
@@ -21,8 +20,13 @@ ALL_TARGET =	default
 
 NO_TEST =	Yes
 
+pre-configure:
+	perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/cgo.1
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cgo ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/cgo.1 ${PREFIX}/man/man1
+	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cgo
+	${INSTALL_DATA} ${WRKSRC}/cgorc ${PREFIX}/share/examples/cgo
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/cgo/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo	20 Apr 2014 04:23:46 -0000	1.3
+++ distinfo	25 Oct 2014 16:06:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (cgo-20140220.tar.gz) = 0IpRKPPED+zTwaNw1NEG0AYsrDiEC41tUFm+2PX9/14=
-SIZE (cgo-20140220.tar.gz) = 6640
+SHA256 (cgo-20141022.tar.gz) = IBfHOWnkxK5Edfnub0o9prL0inQaIXOxOYKAtUU0OD0=
+SIZE (cgo-20141022.tar.gz) = 8146
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/cgo/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST	6 Oct 2013 14:29:23 -0000	1.2
+++ pkg/PLIST	25 Oct 2014 16:06:10 -0000
@@ -1,3 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.2 2013/10/06 14:29:23 bcallah Exp $
 @bin bin/cgo
 @man man/man1/cgo.1
+share/examples/cgo/
+share/examples/cgo/cgorc
+@sample ${SYSCONFDIR}/cgorc

Reply via email to