1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/graphics/g2/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

28 lines
542 B
Makefile

# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$
PORTNAME= g2
PORTVERSION= 0.40
PORTREVISION= 10
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
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>