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

Collapse All | Expand All

(-)b/textproc/dmenu-translate/Makefile (+48 lines)
Added Link Here
1
PORTNAME=	dmenu-translate
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	1.0.0
4
CATEGORIES=	textproc
5
MASTER_SITES=	GH
6
7
MAINTAINER=	nxjoseph@protonmail.com
8
COMMENT=	Quick text translation with dmenu
9
WWW=		https://github.com/NikitaIvanovV/dmenu-translate \
10
		https://github.com/nxjosephofficial/dmenu-translate
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	gsed:textproc/gsed \
16
		notify-send:devel/libnotify \
17
		trans:textproc/translate-shell \
18
		xterm:x11/xterm
19
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	nxjosephofficial
22
23
NO_ARCH=	yes
24
NO_BUILD=	yes
25
26
PLIST_FILES=	${PORTEXAMPLES}${EXAMPLESDIR}/config.sh \
27
		bin/${PORTNAME}
28
29
OPTIONS_DEFINE=		WAYLAND X11
30
OPTIONS_DEFAULT=	X11
31
WAYLAND_DESC=		Use wmenu application and wl-clipboard clipboard manager
32
X11_DESC=		Use dmenu application and xclip clipboard manager
33
34
WAYLAND_RUN_DEPENDS=	wl-copy:x11/wl-clipboard \
35
			wmenu:x11/wmenu
36
X11_RUN_DEPENDS=	dmenu:x11/dmenu \
37
			xclip:x11/xclip
38
39
do-install:
40
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
41
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
42
43
post-install:
44
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
45
	(cd ${WRKSRC}/examples && \
46
		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
47
48
.include <bsd.port.mk>
(-)b/textproc/dmenu-translate/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1731527188
2
SHA256 (nxjosephofficial-dmenu-translate-v1.0.0_GH0.tar.gz) = f9b17d723f2aed3f15e9bad7de0e0933964f6dd890f24f1a0d220666a1a7e834
3
SIZE (nxjosephofficial-dmenu-translate-v1.0.0_GH0.tar.gz) = 965559
(-)b/textproc/dmenu-translate/pkg-descr (-1 / +4 lines)
Added Link Here
0
- 
1
dmenu-translate is a simple and efficient tool that allows users to translate
2
text quickly using the dmenu or any other dmenu-like utility. It supports
3
multiple languages and translation services, making it easy
4
to get instant translations with minimal effort.

Return to bug 282733