ports/67963: Update port: graphics/ftgl 2.07 -> 2.0.9

Igor Pokrovsky ip at doom.homeunix.org
Tue Jun 15 09:50:48 UTC 2004


>Number:         67963
>Category:       ports
>Synopsis:       Update port: graphics/ftgl 2.07 -> 2.0.9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 09:50:29 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Jun 14 18:17:11 MSD 2004 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Update to 2.0.9
Now rely on package makefiles for installation.
	
>How-To-Repeat:
	
>Fix:

	

--- ftgl.diff begins here ---
diff -ruN /usr/ports/graphics/ftgl/Makefile ftgl/Makefile
--- /usr/ports/graphics/ftgl/Makefile	Fri Jun  4 15:45:27 2004
+++ ftgl/Makefile	Tue Jun 15 12:37:48 2004
@@ -6,11 +6,9 @@
 #
 
 PORTNAME=	ftgl
-PORTVERSION=	2.07
-PORTREVISION=	1
+PORTVERSION=	2.0.9
 CATEGORIES=	graphics
 MASTER_SITES=	http://homepages.paradise.net.nz/henryj/code/
-DISTNAME=	${PORTNAME:U}
 
 MAINTAINER=	tiamat at comset.net
 COMMENT=	An OpenGL FreeType fonts rendering library
@@ -20,39 +18,35 @@
 USE_GMAKE=	yes
 USE_GL=		yes
 USE_X_PREFIX=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_WRKSRC=	${WRKDIR}/${DISTNAME}/unix
+WRKSRC=		${WRKDIR}/${PORTNAME:U}
+CONFIGURE_WRKSRC=	${WRKSRC}/unix
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-gl-inc=${X11BASE}/include --with-gl-lib=${X11BASE}/lib
 BUILD_WRKSRC=	${CONFIGURE_WRKSRC}
 INSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
 INSTALLS_SHLIB=	yes
 
-do-install:
-	${INSTALL_DATA} ${INSTALL_WRKSRC}/src/.libs/lib${PORTNAME}.a ${PREFIX}/lib
-	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.pc ${PREFIX}/libdata/pkgconfig
-	@${MKDIR} ${PREFIX}/include/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/${PORTNAME}
+.ifdef (NOPORTDOCS)
+DO_INSTALL_DOCS=\#
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%PORTDOCS%%|${DO_INSTALL_DOCS}|' \
+		${BUILD_WRKSRC}/Makefile
 
+post-install:
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
-	${PERL} -pi -e 's|%%CC%%|${CC}|g;		\
-			s|%%CXX%%|${CXX}|g;		\
-			s|%%RM%%|${RM}|g;		\
-			s|%%CFLAGS%%|${CFLAGS}|g;	\
-			s|%%CXXFLAGS%%|${CXXFLAGS}|g;	\
-			s|%%PREFIX%%|${PREFIX}|g;	\
-			s|%%X11BASE%%|${X11BASE}|g;	\
-			s|%%LOCALBASE%%|${LOCALBASE}|g'	\
+	@${SED} -e 's|%%CC%%|${CC}|g;			\
+		    s|%%CXX%%|${CXX}|g;			\
+		    s|%%RM%%|${RM}|g;			\
+		    s|%%CFLAGS%%|${CFLAGS}|g;		\
+		    s|%%CXXFLAGS%%|${CXXFLAGS}|g;	\
+		    s|%%PREFIX%%|${PREFIX}|g;		\
+		    s|%%X11BASE%%|${X11BASE}|g;		\
+		    s|%%LOCALBASE%%|${LOCALBASE}|g'	\
 	<${FILESDIR}/makefile.ex >${EXAMPLESDIR}/makefile
-
-.ifndef (NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/FTGL.html ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/FTGL_1_3.gif ${DOCSDIR}
-	@${MKDIR} ${DOCSDIR}/images
-	${INSTALL_DATA} ${WRKSRC}/docs/images/* ${DOCSDIR}/images
-.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/graphics/ftgl/distinfo ftgl/distinfo
--- /usr/ports/graphics/ftgl/distinfo	Wed Mar 31 07:08:14 2004
+++ ftgl/distinfo	Tue Jun 15 11:30:32 2004
@@ -1,2 +1,2 @@
-MD5 (FTGL.tar.gz) = 62d363867d4906a428640e661c97f74f
-SIZE (FTGL.tar.gz) = 569505
+MD5 (ftgl-2.0.9.tar.gz) = 2268267277c0655688879d0657b82650
+SIZE (ftgl-2.0.9.tar.gz) = 561543
diff -ruN /usr/ports/graphics/ftgl/files/makefile.ex ftgl/files/makefile.ex
--- /usr/ports/graphics/ftgl/files/makefile.ex	Sat Jan 17 12:03:29 2004
+++ ftgl/files/makefile.ex	Tue Jun 15 12:34:21 2004
@@ -1,11 +1,13 @@
 # Make sure, that you have graphics/libglut installed
 # in order to build example program
+#
+# $FreeBSD$
 
 CC=		%%CC%%
 CXX=		%%CXX%%
 RM=		%%RM%%
-CFLAGS=		%%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl
-CXXFLAGS=	%%CXXFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/ftgl
+CFLAGS=		%%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/FTGL
+CXXFLAGS=	%%CXXFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include/FTGL
 LDFLAGS=	-L%%X11BASE%%/lib -L%%PREFIX%%/lib -lglut -lftgl
 
 FREETYPE_CFLAGS!=%%LOCALBASE%%/bin/freetype-config --cflags
diff -ruN /usr/ports/graphics/ftgl/files/patch-FTFace.cpp ftgl/files/patch-FTFace.cpp
--- /usr/ports/graphics/ftgl/files/patch-FTFace.cpp	Sat Jan 17 12:03:29 2004
+++ ftgl/files/patch-FTFace.cpp	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- src/FTFace.cpp.orig	Fri Jan 16 13:23:11 2004
-+++ src/FTFace.cpp	Fri Jan 16 13:23:23 2004
-@@ -62,7 +62,7 @@
- {
-     FT_Open_Args open;
- 
--    open.flags = (FT_Open_Flags)1; // FT_OPEN_MEMORY;
-+    open.flags = /*(FT_Open_Flags)*/1; // FT_OPEN_MEMORY;
-     open.memory_base = (FT_Byte *)pBufferBytes;
-     open.memory_size = bufferSizeInBytes;
- 
diff -ruN /usr/ports/graphics/ftgl/files/patch-unix_Makefile ftgl/files/patch-unix_Makefile
--- /usr/ports/graphics/ftgl/files/patch-unix_Makefile	Thu Jan  1 03:00:00 1970
+++ ftgl/files/patch-unix_Makefile	Tue Jun 15 12:02:20 2004
@@ -0,0 +1,11 @@
+--- unix/Makefile.orig	Tue Jun 15 12:01:43 2004
++++ unix/Makefile	Tue Jun 15 12:02:04 2004
+@@ -1,7 +1,7 @@
+ top_builddir=.
+ -include $(top_builddir)/Make.conf
+ 
+-SUBDIRS = src demo docs
++SUBDIRS = src demo %%PORTDOCS%%docs
+ 
+ AUTOGEN = Make.conf config.log config.status libtool autom4te.cache ftgl.pc
+ AUTOGEN_MAINT = aclocal.m4 acinclude.m4 config.guess config.sub configure ltmain.sh install-sh
diff -ruN /usr/ports/graphics/ftgl/files/patch-unix_src_Makefile ftgl/files/patch-unix_src_Makefile
--- /usr/ports/graphics/ftgl/files/patch-unix_src_Makefile	Thu Jan  1 03:00:00 1970
+++ ftgl/files/patch-unix_src_Makefile	Tue Jun 15 11:40:20 2004
@@ -0,0 +1,13 @@
+--- unix/src/Makefile.orig	Tue Jun 15 11:39:46 2004
++++ unix/src/Makefile	Tue Jun 15 11:40:03 2004
+@@ -75,8 +75,8 @@
+ install-local: libftgl.la
+ 	$(INSTALL) -d -m 0755 $(libdir)
+ 	$(LIBTOOL) --mode=install $(INSTALL) -m 0644 $(TARGET) $(libdir)
+-    $(INSTALL) -d -m 0755 $(includedir)/FTGL
+-    $(INSTALL) -m 0644 $(HEADER_FILES) $(includedir)/FTGL
++	$(INSTALL) -d -m 0755 $(includedir)/FTGL
++	$(INSTALL) -m 0644 $(HEADER_FILES) $(includedir)/FTGL
+ 
+ 
+ clean-local:
diff -ruN /usr/ports/graphics/ftgl/pkg-plist ftgl/pkg-plist
--- /usr/ports/graphics/ftgl/pkg-plist	Fri Jun  4 15:45:27 2004
+++ ftgl/pkg-plist	Tue Jun 15 12:15:46 2004
@@ -1,33 +1,33 @@
-include/ftgl/FTBBox.h
-include/ftgl/FTBitmapGlyph.h
-include/ftgl/FTCharToGlyphIndexMap.h
-include/ftgl/FTCharmap.h
-include/ftgl/FTContour.h
-include/ftgl/FTExtrdGlyph.h
-include/ftgl/FTFace.h
-include/ftgl/FTFont.h
-include/ftgl/FTGL.h
-include/ftgl/FTGLBitmapFont.h
-include/ftgl/FTGLExtrdFont.h
-include/ftgl/FTGLOutlineFont.h
-include/ftgl/FTGLPixmapFont.h
-include/ftgl/FTGLPolygonFont.h
-include/ftgl/FTGLTextureFont.h
-include/ftgl/FTGlyph.h
-include/ftgl/FTGlyphContainer.h
-include/ftgl/FTLibrary.h
-include/ftgl/FTList.h
-include/ftgl/FTOutlineGlyph.h
-include/ftgl/FTPixmapGlyph.h
-include/ftgl/FTPoint.h
-include/ftgl/FTPolyGlyph.h
-include/ftgl/FTSize.h
-include/ftgl/FTTextureGlyph.h
-include/ftgl/FTVector.h
-include/ftgl/FTVectoriser.h
- at dirrm include/ftgl
+include/FTGL/FTBBox.h
+include/FTGL/FTBitmapGlyph.h
+include/FTGL/FTCharToGlyphIndexMap.h
+include/FTGL/FTCharmap.h
+include/FTGL/FTContour.h
+include/FTGL/FTExtrdGlyph.h
+include/FTGL/FTFace.h
+include/FTGL/FTFont.h
+include/FTGL/FTGL.h
+include/FTGL/FTGLBitmapFont.h
+include/FTGL/FTGLExtrdFont.h
+include/FTGL/FTGLOutlineFont.h
+include/FTGL/FTGLPixmapFont.h
+include/FTGL/FTGLPolygonFont.h
+include/FTGL/FTGLTextureFont.h
+include/FTGL/FTGlyph.h
+include/FTGL/FTGlyphContainer.h
+include/FTGL/FTLibrary.h
+include/FTGL/FTList.h
+include/FTGL/FTOutlineGlyph.h
+include/FTGL/FTPixmapGlyph.h
+include/FTGL/FTPoint.h
+include/FTGL/FTPolyGlyph.h
+include/FTGL/FTSize.h
+include/FTGL/FTTextureGlyph.h
+include/FTGL/FTVector.h
+include/FTGL/FTVectoriser.h
 lib/libftgl.a
-libdata/pkgconfig/ftgl.pc
+lib/libftgl.la
+lib/pkgconfig/ftgl.pc
 %%EXAMPLESDIR%%/makefile
 %%EXAMPLESDIR%%/tb.c
 %%EXAMPLESDIR%%/trackball.c
@@ -35,11 +35,59 @@
 %%EXAMPLESDIR%%/tb.h
 %%EXAMPLESDIR%%/trackball.h
 %%EXAMPLESDIR%%/README.txt
- at dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%%%DOCSDIR%%/images/ftgldemo.jpg
-%%PORTDOCS%%%%DOCSDIR%%/images/metrics.png
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
-%%PORTDOCS%%%%DOCSDIR%%/FTGL_1_3.gif
-%%PORTDOCS%%%%DOCSDIR%%/FTGL.html
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/html/FTBitmapGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTBitmapGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTCharmap_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTCharmap_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTContour_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTContour_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTExtrdGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTExtrdGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTFace_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTFace_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLBitmapFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLBitmapFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLExtrdFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLExtrdFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLOutlineFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLOutlineFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLPixmapFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLPixmapFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLPolygonFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLPolygonFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLTextureFont_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGLTextureFont_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGlyphContainer_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGlyphContainer_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTLibrary_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTLibrary_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTOutlineGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTOutlineGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPixmapGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPixmapGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPoint_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPoint_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPolyGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTPolyGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTSize_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTSize_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTTextureGlyph_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTTextureGlyph_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTVectoriser_8cpp-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FTVectoriser_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/files.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm lib/pkgconfig
+ at dirrm include/FTGL
+ at dirrm %%EXAMPLESDIR%%
--- ftgl.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list