Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 16:20:17 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409623 - in head/devel: . yaggo yaggo/files
Message-ID:  <201602261620.u1QGKHuU027134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Fri Feb 26 16:20:17 2016
New Revision: 409623
URL: https://svnweb.freebsd.org/changeset/ports/409623

Log:
  New port: devel/yaggo.
  
  Generate command line parser using getopt_long.
  
  WWW: https://github.com/gmarcais/yaggo
  
  PR:		207062
  Submitted by:	Jason Bacon <bacon4000@gmail.com>

Added:
  head/devel/yaggo/
  head/devel/yaggo/Makefile   (contents, props changed)
  head/devel/yaggo/distinfo   (contents, props changed)
  head/devel/yaggo/files/
  head/devel/yaggo/files/patch-Makefile   (contents, props changed)
  head/devel/yaggo/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 26 16:16:21 2016	(r409622)
+++ head/devel/Makefile	Fri Feb 26 16:20:17 2016	(r409623)
@@ -5368,6 +5368,7 @@
     SUBDIR += xwpe
     SUBDIR += xxgdb
     SUBDIR += xxl
+    SUBDIR += yaggo
     SUBDIR += yajl
     SUBDIR += yajl-tcl
     SUBDIR += yaml-cpp

Added: head/devel/yaggo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaggo/Makefile	Fri Feb 26 16:20:17 2016	(r409623)
@@ -0,0 +1,22 @@
+# Created by: Jason Bacon <bacon4000@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	yaggo
+PORTVERSION=	1.5.9
+CATEGORIES=	devel
+
+MAINTAINER=	bacon4000@gmail.com
+COMMENT=	Generate command line parser using getopt_long
+
+LICENSE=	GPLv3
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	gmarcais
+GH_TAGNAME=	v${PORTVERSION}
+
+PLIST_FILES=	bin/yaggo man/man1/yaggo.1.gz share/doc/yaggo/README.md
+
+.include <bsd.port.mk>

Added: head/devel/yaggo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaggo/distinfo	Fri Feb 26 16:20:17 2016	(r409623)
@@ -0,0 +1,2 @@
+SHA256 (gmarcais-yaggo-1.5.9-v1.5.9_GH0.tar.gz) = c96f7d5932fad30c88300446cae9a49d35b6a1fcd5a971e02de129c5d7a53bb7
+SIZE (gmarcais-yaggo-1.5.9-v1.5.9_GH0.tar.gz) = 42480

Added: head/devel/yaggo/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaggo/files/patch-Makefile	Fri Feb 26 16:20:17 2016	(r409623)
@@ -0,0 +1,24 @@
+--- Makefile.orig	2015-10-14 16:25:43 UTC
++++ Makefile
+@@ -1,12 +1,14 @@
+-prefix ?= /usr/local
++PREFIX ?= /usr/local
++DESTDIR ?= 
++MANPREFIX ?= $(PREFIX)/share
+ 
+ all: bin/create_yaggo_one_file
+ 	ruby bin/create_yaggo_one_file ./yaggo
+ 
+ install: all
+-	mkdir -p $(prefix)/bin
+-	mkdir -p $(prefix)/share/doc/yaggo
+-	mkdir -p $(prefix)/share/man/man1
+-	cp ./yaggo $(prefix)/bin
+-	cp ./README.md $(prefix)/share/doc/yaggo
+-	./yaggo -m $(prefix)/share/man/man1/yaggo.1
++	mkdir -p $(DESTDIR)$(PREFIX)/bin
++	mkdir -p $(DESTDIR)$(PREFIX)/share/doc/yaggo
++	mkdir -p $(DESTDIR)$(MANPREFIX)/man/man1
++	cp ./yaggo $(DESTDIR)$(PREFIX)/bin
++	cp ./README.md $(DESTDIR)$(PREFIX)/share/doc/yaggo
++	./yaggo -m $(DESTDIR)$(MANPREFIX)/man/man1/yaggo.1

Added: head/devel/yaggo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yaggo/pkg-descr	Fri Feb 26 16:20:17 2016	(r409623)
@@ -0,0 +1,3 @@
+Generate command line parser using getopt_long.
+
+WWW: https://github.com/gmarcais/yaggo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602261620.u1QGKHuU027134>