From d25dfcdfb343879b761408b51d9995699a6a268c Mon Sep 17 00:00:00 2001 From: pawel Date: Sun, 27 Apr 2014 12:21:10 +0000 Subject: - Add staging support - Convert to new LIB_DEPENDS format --- graphics/g2/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile index 6510c92c62d7..de9e7bcb1b0f 100644 --- a/graphics/g2/Makefile +++ b/graphics/g2/Makefile @@ -11,13 +11,16 @@ MASTER_SITE_SUBDIR= libs/graphics MAINTAINER= ports@FreeBSD.org COMMENT= Easy to use, portable, and powerful 2D graphics library -LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd USE_XORG= x11 GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include -NO_STAGE= yes +post-patch: + @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \ + ${WRKSRC}/Makefile.in + do-build: cd ${WRKSRC} ; make depend ; make -- cgit