mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
26 lines
538 B
Makefile
26 lines
538 B
Makefile
# Created by: Bill Fumerola <billf@chc-chimes.com>
|
|
|
|
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 <bsd.port.mk>
|