mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
28 lines
593 B
Makefile
28 lines
593 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
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X11 image grabber
|
|
|
|
BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb
|
|
|
|
USES= display:build imake:notall
|
|
USE_XORG= x11
|
|
|
|
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>
|