freebsd-ports/x11/xrootconsole/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

26 lines
627 B
Makefile

# Created by: incabulos@mac.com
# $FreeBSD$
PORTNAME= xrootconsole
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Writes any log live onto the background
USES= gmake xorg
USE_XORG= x11
PLIST_FILES= bin/xrootconsole 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}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>