Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 21:18:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341107 - head/graphics/libgfx
Message-ID:  <201401252118.s0PLIYKE050686@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 21:18:33 2014
New Revision: 341107
URL: http://svnweb.freebsd.org/changeset/ports/341107
QAT: https://qat.redports.org/buildarchive/r341107/

Log:
  Support stage
  Modernize LIB_DEPENDS
  USE_GMAKE -> USES=gmake

Modified:
  head/graphics/libgfx/Makefile

Modified: head/graphics/libgfx/Makefile
==============================================================================
--- head/graphics/libgfx/Makefile	Sat Jan 25 21:15:01 2014	(r341106)
+++ head/graphics/libgfx/Makefile	Sat Jan 25 21:18:33 2014	(r341107)
@@ -12,16 +12,16 @@ COMMENT=	OpenGL/FLTK development
 
 LICENSE=	MIT
 
-LIB_DEPENDS=	fltk:${PORTSDIR}/x11-toolkits/fltk \
-		tiff:${PORTSDIR}/graphics/tiff \
-		png15:${PORTSDIR}/graphics/png \
-		gzstream:${PORTSDIR}/devel/gzstream \
-		jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libgzstream.so:${PORTSDIR}/devel/gzstream \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg
 
 BUILD_WRKSRC=	${WRKSRC}/src
 
+USES=		gmake
 USE_GL=		glu
-USE_GMAKE=	yes
 USE_XORG=	x11 xext xft xinerama
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gzstream --with-libtiff-lzw --with-x
@@ -32,7 +32,6 @@ CFLAGS+=	-fPIC
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^CC /d ; \
@@ -45,8 +44,8 @@ post-patch:
 		'/^FLTK_LIBS/s|"-lfltk"|"`fltk-config --ldflags`"|' ${WRKSRC}/configure
 
 do-install:
-	@(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${PREFIX}/include/gfx)
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${PREFIX}/lib
-	@${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.0
+	@(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/gfx)
+	${INSTALL_LIB} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
+	@${LN} -sf ${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252118.s0PLIYKE050686>