Tweak graphics/g2 version 0.40_9
[dports.git] / graphics / g2 / Makefile
1 # Created by: Bill Fumerola <billf@chc-chimes.com>
2 # $FreeBSD$
3
4 PORTNAME=       g2
5 PORTVERSION=    0.40
6 PORTREVISION=   9
7 CATEGORIES=     graphics
8 MASTER_SITES=   SUNSITE/libs/graphics
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Easy to use, portable, and powerful 2D graphics library
12
13 LIB_DEPENDS=    libgd.so:graphics/gd
14
15 USE_XORG=       x11
16 GNU_CONFIGURE=  yes
17 CFLAGS+=        -I${LOCALBASE}/include
18
19 post-patch:
20         @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \
21                 ${WRKSRC}/Makefile.in
22
23 do-build:
24         cd ${WRKSRC} ; make depend ; make
25
26 .include <bsd.port.mk>