aboutsummaryrefslogtreecommitdiff
path: root/x11/gmrun/Makefile
blob: 1f4fc7d2422b641d753965b1f2fe0a0ab7e89c48 (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
# Created by: Adam Weinberger <adam@vectors.cx>

PORTNAME=	gmrun
PORTVERSION=	0.9.2
PORTREVISION=	13
CATEGORIES=	x11
MASTER_SITES=	SF

MAINTAINER=	garga@FreeBSD.org
COMMENT=	Customizable program to run programs, with tab-completion

LICENSE=	GPLv2

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libpopt.so:devel/popt

USES=		compiler:c++11-lang gmake gnome localbase:ldflags pkgconfig

OPTIONS_DEFINE=	DOCS

USE_GNOME=	cairo gdkpixbuf2 gtk20
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-stlport

PORTDOCS=	README
PLIST_FILES=	bin/gmrun ${DATADIR}/gmrunrc

post-patch:
	@${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \
		${WRKSRC}/src/gtkcompletionline.cc

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>