aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/g2/Makefile
blob: 6fd1fdb58c3f481218b85f8f01e6da184e107168 (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
26
# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$

PORTNAME=   g2
PORTVERSION=    0.40
PORTREVISION=   9
CATEGORIES= graphics
MASTER_SITES=   SUNSITE/libs/graphics

MAINTAINER= ports@FreeBSD.org
COMMENT=    Easy to use, portable, and powerful 2D graphics library

LIB_DEPENDS=    libgd.so:graphics/gd

USE_XORG=   x11
GNU_CONFIGURE=  yes
CFLAGS+=    -I${LOCALBASE}/include

post-patch:
    @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \
        ${WRKSRC}/Makefile.in

do-build:
    cd ${WRKSRC} ; make depend ; make

.include <bsd.port.mk>