View | Details | Raw Unified | Return to bug 228280
Collapse All | Expand All

(-)net/sacc/Makefile (+40 lines)
Line 0 Link Here
1
# Created by: Stefan Hagen <sh@codevoid.de>
2
# $FreeBSD$
3
4
PORTNAME=	sacc
5
PORTVERSION=	v1.00
6
CATEGORIES=	net
7
MASTER_SITES=	ftp://bitreich.org/releases/sacc/
8
9
MAINTAINER=	sh@codevoid.de
10
COMMENT=	Sacc(omys), simple console gopher client
11
12
LICENSE=	ISCL
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	xdg-open:devel/xdg-utils
16
17
OPTIONS_DEFINE=	TXT RIFLE
18
TXT_DESC=	Use text UI instead of curses (not recommended)
19
RIFLE_DESC=	Use rifle instead of xdg-open (requires sysutils/py-ranger)
20
21
USES=tar:tgz
22
23
.include <bsd.port.options.mk>
24
25
.if ${PORT_OPTIONS:MRIFLE}
26
RUN_DEPENDS+=	rifle:sysutils/py-ranger
27
.endif
28
29
post-patch-TXT-on:
30
	@${REINPLACE_CMD} -e 's/^UI=ti/#UI=ti/' ${WRKSRC}/config.mk
31
	@${REINPLACE_CMD} -e 's/^LIBS=-lcurses/#LIBS=-lcurses/' ${WRKSRC}/config.mk
32
	@${REINPLACE_CMD} -e 's/^#UI=txt/UI=txt/' ${WRKSRC}/config.mk
33
34
post-patch-RIFLE-on:
35
	@${REINPLACE_CMD} -e 's/xdg-open/rifle/' ${WRKSRC}/config.def.h
36
37
post-patch:
38
	@${REINPLACE_CMD} -e 's|SACCCFLAGS =.*|SACCCFLAGS = |' ${WRKSRC}/Makefile
39
40
.include <bsd.port.mk>
(-)net/sacc/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1526245226
2
SHA256 (sacc-v1.00.tgz) = e4cc0fe68e4fa5b75eb2fcf750d4d9d10cf22db41ae8f256748d8458a268bf66
3
SIZE (sacc-v1.00.tgz) = 11164
(-)net/sacc/pkg-descr (+5 lines)
Line 0 Link Here
1
Sacc(omys), simple console gopher client
2
is a fast and small terminal gopher client
3
written in C.
4
5
WWW: https://git.fifth.space/sacc/
(-)net/sacc/pkg-plist (+2 lines)
Line 0 Link Here
1
bin/sacc
2
share/man/man1/sacc.1

Return to bug 228280