1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add a port of Sacc(omys), simple console Gopher client.

PR:	228280
This commit is contained in:
Alexey Dokuchaev 2020-06-30 12:53:24 +00:00
parent abac6ab079
commit 8131ceb3ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540892
5 changed files with 40 additions and 0 deletions

View File

@ -1342,6 +1342,7 @@
SUBDIR += rubygem-xmlrpc
SUBDIR += rude
SUBDIR += ryu
SUBDIR += sacc
SUBDIR += samba410
SUBDIR += samba411
SUBDIR += samplicator

21
net/sacc/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Stefan Hagen <sh@codevoid.de>
# $FreeBSD$
PORTNAME= sacc
PORTVERSION= 1.01
CATEGORIES= net
MASTER_SITES= ftp://bitreich.org/releases/sacc/
MAINTAINER= sh@codevoid.de
COMMENT= Simple console Gopher client
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= tar:tgz
PLIST_FILES= bin/sacc share/man/man1/sacc.1.gz
.include <bsd.port.mk>

3
net/sacc/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1589518597
SHA256 (sacc-1.01.tgz) = cb5784b2cd69a8a0276901b99a1093ac77fba37c6c2fb5c2935d87c4964925ba
SIZE (sacc-1.01.tgz) = 12011

View File

@ -0,0 +1,12 @@
--- Makefile.orig 2020-02-19 20:41:12 UTC
+++ Makefile
@@ -32,8 +32,7 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) $(DESTDIR)$(MANDIR)/$(MAN)
# Stock FLAGS
-SACCCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE \
- $(CFLAGS)
+SACCCFLAGS = $(CFLAGS)
.c.o:
$(CC) $(SACCCFLAGS) -c $<

3
net/sacc/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Sacc(omys) is fast and small terminal Gopher client written in C.
WWW: https://git.fifth.space/sacc/