mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
f86ce48e86
While here, include stdlib.h to quiet warnings about exit.
27 lines
582 B
Makefile
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>
|