From 262cefb037337f81473cbb33b686d0806ac5d5b6 Mon Sep 17 00:00:00 2001 From: Nikolai Lifanov Date: Sat, 21 Jan 2017 18:48:35 +0000 Subject: [PATCH] Add new port: net/fb - client for paste.xinu.at PR: 211374 Submitted by: Greg Fitzgerald Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9231 --- net/Makefile | 1 + net/fb/Makefile | 30 ++++++++++++++++++++++++++++++ net/fb/distinfo | 3 +++ net/fb/pkg-descr | 3 +++ 4 files changed, 37 insertions(+) create mode 100644 net/fb/Makefile create mode 100644 net/fb/distinfo create mode 100644 net/fb/pkg-descr diff --git a/net/Makefile b/net/Makefile index 367cb9d8f8df..4c025c64203d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -131,6 +131,7 @@ SUBDIR += etrace SUBDIR += exabgp SUBDIR += exaddos + SUBDIR += fb SUBDIR += findmtu SUBDIR += flowgrep SUBDIR += fonulator diff --git a/net/fb/Makefile b/net/fb/Makefile new file mode 100644 index 000000000000..9ec41f82c19e --- /dev/null +++ b/net/fb/Makefile @@ -0,0 +1,30 @@ +# Created by: Greg Fitzgerald +# $FreeBSD$ + +PORTNAME= fb +PORTVERSION= 2.0.3 +CATEGORIES= net python +MASTER_SITES= http://paste.xinu.at/data/client/ + +MAINTAINER= gregf@hugops.pw +COMMENT= Client for paste.xinu.at + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblzma>0:archivers/py-pyliblzma \ + ${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl \ + ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg + +USES= python shebangfix +NO_ARCH= yes + +SHEBANG_FILES= ${WRKSRC}/fb + +PLIST_FILES= bin/fb man/man1/fb.1.gz + +post-patch: + @${REINPLACE_CMD} -e \ + 's|PREFIX=/usr|PREFIX=${LOCALBASE}|g ; \ + s|share/man|man|g' ${WRKSRC}/Makefile + +.include diff --git a/net/fb/distinfo b/net/fb/distinfo new file mode 100644 index 000000000000..b7379ecf5543 --- /dev/null +++ b/net/fb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1484757087 +SHA256 (fb-2.0.3.tar.gz) = dd318de67c1581e6dfa6b6c84e8c8e995b27d115fed86d81d5579aa9a2358114 +SIZE (fb-2.0.3.tar.gz) = 22684 diff --git a/net/fb/pkg-descr b/net/fb/pkg-descr new file mode 100644 index 000000000000..8cd4f6cc6acf --- /dev/null +++ b/net/fb/pkg-descr @@ -0,0 +1,3 @@ +Client for paste.xinu.at + +WWW: https://paste.xinu.at