aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xgrab/Makefile
blob: 30282fc1cce1deafcc27739caafc6eeaa1e697db (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
# Created by: jmz
# $FreeBSD$

PORTNAME=   xgrab
PORTVERSION=    2.41
PORTREVISION=   3
CATEGORIES= x11
MASTER_SITES=   XCONTRIB/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>