# Created by: Bill Fumerola PORTNAME= g2 PORTVERSION= 0.72 CATEGORIES= graphics MASTER_SITES= SF/g2gl/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Easy to use, portable, and powerful 2D graphics library LIB_DEPENDS= libgd.so:graphics/gd USES= xorg 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