freebsd-ports/x11/pmenu/Makefile
Mateusz Piotrowski 6539f2a7fb Update to 2.2.0
With the last release, πmenu now uses XRender to draw anti-aliased graphics
(the line separators, and the slices).

Also, you do not need xclickroot anymore: with the -r 3 option, pie menu
can be run in background (by following it with a &) and it will watch for
clicks on the root window. I included this xclickroot functionality into
πmenu so it is always loaded, and it does not have the overhead of
initiating and drawing stuff.
2021-02-05 11:30:44 +00:00

39 lines
798 B
Makefile

# $FreeBSD$
PORTNAME= pmenu
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.0
CATEGORIES= x11
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Pie menu for X
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libImlib2.so:graphics/imlib2
USES= localbase xorg
USE_GITHUB= yes
GH_ACCOUNT= phillbush
USE_XORG= x11 xext xft xinerama xrender
MAKE_ARGS= FREETYPEINC="${LOCALBASE}/include/freetype2" \
PREFIX="${PREFIX}"
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
PORTEXAMPLES= ${PORTNAME}.sh
OPTIONS_DEFINE= EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>