summaryrefslogtreecommitdiff
path: root/x11/xrootconsole/Makefile
blob: 64410d152976cb1dc0fbfa8dd1206efdaea6e40f (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
PORTNAME=	xrootconsole
PORTVERSION=	0.6
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Writes any log live onto the background
WWW=		https://sourceforge.net/projects/xrootconsole/

USES=		gmake xorg
USE_XORG=	x11

PLIST_FILES=	bin/xrootconsole share/man/man1/xrootconsole.1.gz
post-patch:
	@${REINPLACE_CMD} -e 's|^CC =|CC ?=|g ; \
		 s|^CFLAGS = -O2|CFLAGS +=|g ; \
		 s|/usr/X11R6|$${LOCALBASE}|g' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xrootconsole ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xrootconsole.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>