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

Collapse All | Expand All

(-)x11/xmenu/Makefile (+41 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	xmenu
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	4.3.1
6
CATEGORIES=	x11
7
8
MAINTAINER=	vulcan@wired.sh
9
COMMENT=	X11 menu utility
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/README.md
13
14
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
15
		libImlib2.so:graphics/imlib2
16
17
USES=		compiler:c11 xorg
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	phillbush
20
USE_XORG=	x11 xft xinerama
21
22
MAKE_ARGS=	FREETYPEINC="${LOCALBASE}/include/freetype2" \
23
		MANPREFIX="${PREFIX}/man" \
24
		PREFIX="${PREFIX}"
25
26
PLIST_FILES=	bin/${PORTNAME} \
27
		man/man1/${PORTNAME}.1.gz
28
PORTDOCS=	README.md
29
PORTEXAMPLES=	icons/* xmenu.sh
30
31
OPTIONS_DEFINE=	DOCS EXAMPLES
32
33
post-install-DOCS-on:
34
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
35
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
36
37
post-install-EXAMPLES-on:
38
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
39
	cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}
40
41
.include <bsd.port.mk>
(-)x11/xmenu/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1598877606
2
SHA256 (phillbush-xmenu-v4.3.1_GH0.tar.gz) = c0e1e15ed3cd88ea9f4ed1a04664a7b8c743b012749578cfd2606980a7ee972c
3
SIZE (phillbush-xmenu-v4.3.1_GH0.tar.gz) = 137703
(-)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 is a menu utility for X. XMenu
2
receives a menu specification in stdin,
3
shows a menu for the user to select one
4
of the options, and outputs the option
5
selected to stdout. XMenu can be controlled
6
both via mouse and via keyboard.
7
8
WWW: https://github.com/phillbush/xmenu

Return to bug 248279