svn commit: r352413 - head/graphics/g2

Pawel Pekala pawel at FreeBSD.org
Sun Apr 27 12:21:10 UTC 2014


Author: pawel
Date: Sun Apr 27 12:21:10 2014
New Revision: 352413
URL: http://svnweb.freebsd.org/changeset/ports/352413
QAT: https://qat.redports.org/buildarchive/r352413/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format

Modified:
  head/graphics/g2/Makefile

Modified: head/graphics/g2/Makefile
==============================================================================
--- head/graphics/g2/Makefile	Sun Apr 27 12:19:53 2014	(r352412)
+++ head/graphics/g2/Makefile	Sun Apr 27 12:21:10 2014	(r352413)
@@ -11,13 +11,16 @@ MASTER_SITE_SUBDIR=	libs/graphics
 MAINTAINER=	ports at 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
 


More information about the svn-ports-all mailing list