View | Details | Raw Unified | Return to bug 281683 | Differences between
and this patch

Collapse All | Expand All

(-)b/irc/Makefile (+1 lines)
Lines 82-87 Link Here
82
    SUBDIR += rubygem-lita-irc
82
    SUBDIR += rubygem-lita-irc
83
    SUBDIR += rubygem-net-irc
83
    SUBDIR += rubygem-net-irc
84
    SUBDIR += scrollz
84
    SUBDIR += scrollz
85
    SUBDIR += senpai
85
    SUBDIR += simpleirc
86
    SUBDIR += simpleirc
86
    SUBDIR += smartirc4net
87
    SUBDIR += smartirc4net
87
    SUBDIR += smuxi
88
    SUBDIR += smuxi
(-)b/irc/senpai/Makefile (+39 lines)
Added Link Here
1
PORTNAME=		senpai
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=		0.3.0
4
CATEGORIES=		irc
5
MASTER_SITES=		https://git.sr.ht/~delthas/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
6
7
MAINTAINER=		vnpower@loang.net
8
COMMENT=		Your everyday IRC student
9
WWW=			https://git.sr.ht/~delthas/senpai/
10
11
LICENSE=		MIT
12
LICENSE_FILE=		${WRKSRC}/LICENSE
13
14
BUILD_DEPENDS=		go121>=1.21.0:lang/go121
15
16
USES=			gmake
17
18
OPTIONS_DEFINE=		MANPAGES
19
OPTIONS_DEFAULT=	MANPAGES
20
OPTIONS_SUB=		yes
21
22
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
23
MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz \
24
			share/man/man5/${PORTNAME}.5.gz
25
26
do-build-MANPAGES-on:
27
	scdoc < ${WRKSRC}/doc/${PORTNAME}.1.scd >${WRKSRC}/doc/${PORTNAME}.1
28
	scdoc < ${WRKSRC}/doc/${PORTNAME}.5.scd >${WRKSRC}/doc/${PORTNAME}.5
29
30
do-install-MANPAGES-on:
31
	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
32
		${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
33
	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.5 \
34
		${STAGEDIR}${PREFIX}/share/man/man5/${PORTNAME}.5
35
36
post-install:
37
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/senpai
38
39
.include <bsd.port.mk>
(-)b/irc/senpai/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1727090518
2
SHA256 (senpai-v0.3.0.tar.gz) = c02f63a7d76ae13ed888fc0de17fa9fd5117dcb3c9edc5670341bf2bf3b88718
3
SIZE (senpai-v0.3.0.tar.gz) = 106061
(-)b/irc/senpai/files/patch-Makefile (+38 lines)
Added Link Here
1
--- Makefile.orig	2023-11-27 14:14:44 UTC
2
+++ Makefile
3
@@ -11,26 +11,11 @@ APPDIR ?= share/applications
4
 MANDIR ?= share/man
5
 APPDIR ?= share/applications
6
 
7
-ifneq (, $(shell which $(GIT) 2>/dev/null))
8
-export SOURCE_DATE_EPOCH ?= $(shell $(GIT) log -1 --pretty=%ct)
9
-endif
10
-
11
 all: senpai doc
12
 
13
 senpai:
14
 	$(GO) build $(GOFLAGS) ./cmd/senpai
15
 
16
-ifeq (, $(shell which $(SCDOC) 2>/dev/null))
17
-$(warning "$(SCDOC) not found, skipping building documentation")
18
-doc:
19
-else
20
-doc: doc/senpai.1 doc/senpai.5
21
-doc/senpai.1: doc/senpai.1.scd
22
-	$(SCDOC) < doc/senpai.1.scd > doc/senpai.1
23
-doc/senpai.5: doc/senpai.5.scd
24
-	$(SCDOC) < doc/senpai.5.scd > doc/senpai.5
25
-endif
26
-
27
 clean:
28
 	$(RM) -rf senpai doc/senpai.1 doc/senpai.5
29
 install:
30
@@ -39,8 +24,6 @@ install:
31
 	mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
32
 	mkdir -p $(DESTDIR)$(PREFIX)/$(APPDIR)
33
 	cp -f senpai $(DESTDIR)$(PREFIX)/$(BINDIR)
34
-	cp -f doc/senpai.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
35
-	cp -f doc/senpai.5 $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
36
 	cp -f contrib/senpai.desktop $(DESTDIR)$(PREFIX)/$(APPDIR)/senpai.desktop
37
 uninstall:
38
 	$(RM) $(DESTDIR)$(PREFIX)/$(BINDIR)/senpai
(-)b/irc/senpai/pkg-descr (+2 lines)
Added Link Here
1
senpai is an IRC client that works best with bouncers.
2
Supports various IRCv3 features including chat history.
(-)b/irc/senpai/pkg-plist (-1 / +2 lines)
Added Link Here
0
- 
1
bin/senpai
2
share/applications/senpai.desktop

Return to bug 281683