1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/x11/xgrab/Makefile
Adam Weinberger f86ce48e86 Add USE_XORG=xaw. Not clear how this was building successfully before.
While here, include stdlib.h to quiet warnings about exit.
2014-09-09 19:31:28 +00:00

27 lines
582 B
Makefile

# Created by: jmz
# $FreeBSD$
PORTNAME= xgrab
PORTVERSION= 2.41
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= XCONTRIB
MASTER_SITE_SUBDIR= applications
DISTNAME= ${PORTNAME}sc.2_41
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 image grabber
BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb
USES= display:build imake:notall tar:Z
USE_XORG= x11 xaw
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
CFLAGS+= -Wno-error=return-type
post-patch:
@${REINPLACE_CMD} 's,\*envp,\*\*envp,g' ${WRKSRC}/xgrabxaw.c
.include <bsd.port.mk>