Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 01:26:04 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349314 - head/graphics/glfw2
Message-ID:  <201403270126.s2R1Q4VF096011@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu Mar 27 01:26:03 2014
New Revision: 349314
URL: http://svnweb.freebsd.org/changeset/ports/349314
QAT: https://qat.redports.org/buildarchive/r349314/

Log:
  - Use tar:bzip2 instead of USE_BZIP2=yes
  - Change PLIST_FILES
  - Change REINPLACE, cosmetical changes
  - Fix typo, blank character

Modified:
  head/graphics/glfw2/Makefile

Modified: head/graphics/glfw2/Makefile
==============================================================================
--- head/graphics/glfw2/Makefile	Thu Mar 27 01:14:25 2014	(r349313)
+++ head/graphics/glfw2/Makefile	Thu Mar 27 01:26:03 2014	(r349314)
@@ -12,7 +12,7 @@ COMMENT=	Portable framework for OpenGL d
 
 LICENSE=	ZLIB
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 GNU_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	compile.sh
 ALL_TARGET=	x11
@@ -23,11 +23,8 @@ USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
 CFLAGS+=	-w
 
-PLIST_FILES=	include/GL/glfw.h \
-		lib/libglfw.a \
-		lib/libglfw.so \
-		lib/libglfw.so.0 \
-		libdata/pkgconfig/libglfw.pc
+PLIST_FILES=	include/GL/glfw.h lib/libglfw.a lib/libglfw.so \
+		lib/libglfw.so.0 libdata/pkgconfig/libglfw.pc
 
 PORTDOCS=	*
 
@@ -63,9 +60,9 @@ post-extract:
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|/usr/X11R6|${LOCALBASE}| ; \
-		 /SOFLAGS/s|-soname |-Wl,-soname,| ; \
-		 /CFLAGS_THREAD/s|"-pthread"|"${PTHREAD_CFLAGS}"| ; \
+		's|/usr/X11R6|${LOCALBASE}|; \
+		 /SOFLAGS/s|-soname |-Wl,-soname,|; \
+		 /CFLAGS_THREAD/s|"-pthread"|"${PTHREAD_CFLAGS}"|; \
 		 /LFLAGS_THREAD/s|"-pthread"|"${PTHREAD_LIBS}"|' \
 		${WRKSRC}/${CONFIGURE_SCRIPT}
 	@${REINPLACE_CMD} \
@@ -78,14 +75,13 @@ post-install:
 	${LN} -sf ${PREFIX}/lib/libglfw.so.0 ${STAGEDIR}${PREFIX}/lib/libglfw.so
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libglfw.so.0
 
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR2}
 	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
 	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
 
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \
-		${STAGEDIR}${EXAMPLESDIR} 
+		${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${EXAMPLESSRCDIR1}/*.tga ${STAGEDIR}${EXAMPLESDIR}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR2}
 	${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} \



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