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

Collapse All | Expand All

(-)x11/xmenu/Makefile (+38 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	xmenu
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	3.4
6
CATEGORIES=	x11
7
8
MAINTAINER=	vulcan@wired.sh
9
COMMENT=	X11 menu utility
10
11
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
12
		libImlib2.so:graphics/imlib2
13
14
USES=		compiler:c11 xorg
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	phillbush
17
USE_XORG=	x11 xft
18
19
MAKE_ARGS=	FREETYPEINC="${LOCALBASE}/include/freetype2" \
20
		MANPREFIX="${PREFIX}/man" \
21
		PREFIX="${PREFIX}"
22
23
PLIST_FILES=	bin/${PORTNAME} \
24
		man/man1/${PORTNAME}.1.gz
25
PORTDOCS=	README
26
PORTEXAMPLES=	icons/* xmenu.sh
27
28
OPTIONS_DEFINE=	DOCS EXAMPLES
29
30
post-install-DOCS-on:
31
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
32
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
33
34
post-install-EXAMPLES-on:
35
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
36
	cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}
37
38
.include <bsd.port.mk>
(-)x11/xmenu/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1595767231
2
SHA256 (phillbush-xmenu-v3.4_GH0.tar.gz) = 8d4113cebd5eeafd85067c8b0319ce10e4af2148aaffd47b55059083f8132d9b
3
SIZE (phillbush-xmenu-v3.4_GH0.tar.gz) = 133975
(-)x11/xmenu/files/patch-Makefile (+15 lines)
Line 0 Link Here
1
--- Makefile.orig	2020-07-23 20:39:33 UTC
2
+++ Makefile
3
@@ -17,8 +17,10 @@ clean:
4
 	-rm ${OBJS} ${PROG}
5
 
6
 install: all
7
-	install -D -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
8
-	install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
9
+	mkdir -p ${DESTDIR}${MANPREFIX}/man1
10
+	mkdir -p ${DESTDIR}${PREFIX}/bin
11
+	${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin
12
+	${BSD_INSTALL_MAN} ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1
13
 
14
 uninstall:
15
 	rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
(-)x11/xmenu/pkg-descr (+8 lines)
Line 0 Link Here
1
XMenu receives a menu specification in stdin,
2
shows a menu for the user to select one of the
3
options, and outputs the option selected to stdout.
4
XMenu can be controlled both via mouse and via
5
keyboard. The menu is a pop-up menu (that is,
6
after selecting an option, the menu disappears).
7
8
WWW: https://github.com/phillbush/xmenu

Return to bug 248279