Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 19:20:43 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352543 - head/graphics/simpleviewer
Message-ID:  <201404281920.s3SJKhQP095882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr 28 19:20:42 2014
New Revision: 352543
URL: http://svnweb.freebsd.org/changeset/ports/352543
QAT: https://qat.redports.org/buildarchive/r352543/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format, USES=tar:bzip2

Modified:
  head/graphics/simpleviewer/Makefile

Modified: head/graphics/simpleviewer/Makefile
==============================================================================
--- head/graphics/simpleviewer/Makefile	Mon Apr 28 19:07:35 2014	(r352542)
+++ head/graphics/simpleviewer/Makefile	Mon Apr 28 19:20:42 2014	(r352543)
@@ -13,11 +13,11 @@ COMMENT=	Small and simple OpenGL image v
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		gif.5:${PORTSDIR}/graphics/giflib
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libgif.so:${PORTSDIR}/graphics/giflib
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_EFL=	imlib2
 USE_GL=		glut
 WRKSRC=		${WRKDIR}/sviewgl-src
@@ -26,13 +26,10 @@ MAKE_ARGS=	CC=${CXX}
 
 PLIST_FILES=	bin/sviewgl
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,-O2,${CFLAGS}, ; s,/usr/include,${LOCALBASE}/include,g ; \
 		s,=-s,=-L${LOCALBASE}/lib,' ${WRKSRC}/Makefile
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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