aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/g2/Makefile
blob: 9c2e30b1e6350074d93cc45ea4ef08362f20123e (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:${PORTSDIR}/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>