aboutsummaryrefslogtreecommitdiff
path: root/x11/pmenu/Makefile
blob: 9efbff2b8642a81b3663f545da085ea086f0eb03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	pmenu
DISTVERSIONPREFIX=	v
DISTVERSION=	2.3.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>