Index: Makefile =================================================================== --- Makefile (revision 437223) +++ Makefile (working copy) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= Font-FreeType -PORTVERSION= 0.03 -PORTREVISION= 2 +PORTVERSION= 0.07 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,9 +9,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl extension to read font files and render glyphs using FreeType2 +LICENSE= ARTPERL10 + +BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \ + p5-File-Which>=0:sysutils/p5-File-Which LIB_DEPENDS= libfreetype.so:print/freetype2 +TEST_DEPENDS= p5-Test-Warnings>=0:devel/p5-Test-Warnings -USES= pkgconfig perl5 +USES= perl5 USE_PERL5= configure +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Font/FreeType/FreeType.so + .include Index: distinfo =================================================================== --- distinfo (revision 437223) +++ distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (Font-FreeType-0.03.tar.gz) = c07eab16bb4d16ba61fd0a3376a8f76980245aef443d1ea193ec5446d1127d5f -SIZE (Font-FreeType-0.03.tar.gz) = 95275 +TIMESTAMP = 1491011072 +SHA256 (Font-FreeType-0.07.tar.gz) = 4d2f6426a11b732469fb3d7a198c02a47779157f938116cbb7602826e54efc79 +SIZE (Font-FreeType-0.07.tar.gz) = 234507 Index: files/patch-FreeType.xs =================================================================== --- files/patch-FreeType.xs (revision 437223) +++ files/patch-FreeType.xs (nonexistent) @@ -1,48 +0,0 @@ ---- FreeType.xs.orig 2004-09-12 05:50:44.000000000 +0900 -+++ FreeType.xs 2011-08-13 20:42:27.482201061 +0900 -@@ -226,7 +226,7 @@ - #define QEFFT2_CALL_TIDY FREETMPS; LEAVE; - - static int --handle_move_to (FT_Vector *to, void *data) -+handle_move_to (const FT_Vector *to, void *data) - { - struct QefFT2_Outline_Decompose_Extra_ *extra = data; - double x = QEFFT2_NUM(to->x), y = QEFFT2_NUM(to->y); -@@ -243,7 +243,7 @@ - } - - static int --handle_line_to (FT_Vector *to, void *data) -+handle_line_to (const FT_Vector *to, void *data) - { - struct QefFT2_Outline_Decompose_Extra_ *extra = data; - double x = QEFFT2_NUM(to->x), y = QEFFT2_NUM(to->y); -@@ -260,7 +260,7 @@ - } - - static int --handle_conic_to (FT_Vector *control, FT_Vector *to, void *data) -+handle_conic_to (const FT_Vector *control, const FT_Vector *to, void *data) - { - struct QefFT2_Outline_Decompose_Extra_ *extra = data; - double x = QEFFT2_NUM(to->x), y = QEFFT2_NUM(to->y); -@@ -292,7 +292,7 @@ - } - - static int --handle_cubic_to (FT_Vector *control1, FT_Vector *control2, FT_Vector *to, -+handle_cubic_to (const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, - void *data) - { - struct QefFT2_Outline_Decompose_Extra_ *extra = data; -@@ -805,7 +805,8 @@ - char_code = FT_Get_First_Char(face, &glyph_idx); - while (glyph_idx) { - if (glyph_idx == glyph->index) { -- RETVAL = newSVuv((UV) glyph->char_code = char_code); -+ glyph->char_code = char_code; -+ RETVAL = newSVuv((UV) glyph->char_code); - break; - } - char_code = FT_Get_Next_Char(face, char_code, &glyph_idx); Property changes on: files/patch-FreeType.xs ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: files/patch-Makefile.PL =================================================================== --- files/patch-Makefile.PL (revision 437223) +++ files/patch-Makefile.PL (nonexistent) @@ -1,13 +0,0 @@ ---- Makefile.PL.bak 2004-09-10 09:43:29.000000000 +0900 -+++ Makefile.PL 2011-08-13 21:01:55.896033332 +0900 -@@ -5,8 +5,8 @@ - NAME => 'Font::FreeType', - AUTHOR => 'Geoff Richards ', - VERSION_FROM => 'lib/Font/FreeType.pm', -- LIBS => [ '-lfreetype' ], -- INC => '-I/usr/include/freetype2', -+ LIBS => `pkg-config --libs freetype2`, -+ INC => `pkg-config --cflags freetype2`, - NO_META => 1, - ); - Property changes on: files/patch-Makefile.PL ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: pkg-plist =================================================================== --- pkg-plist (revision 437223) +++ pkg-plist (working copy) @@ -1,7 +1,13 @@ %%SITE_ARCH%%/Font/FreeType.pm +%%SITE_ARCH%%/Font/FreeType/BoundingBox.pm +%%SITE_ARCH%%/Font/FreeType/CharMap.pm %%SITE_ARCH%%/Font/FreeType/Face.pm %%SITE_ARCH%%/Font/FreeType/Glyph.pm +%%SITE_ARCH%%/Font/FreeType/NamedInfo.pm %%SITE_ARCH%%/auto/Font/FreeType/FreeType.so %%PERL5_MAN3%%/Font::FreeType.3.gz +%%PERL5_MAN3%%/Font::FreeType::BoundingBox.3.gz +%%PERL5_MAN3%%/Font::FreeType::CharMap.3.gz %%PERL5_MAN3%%/Font::FreeType::Face.3.gz %%PERL5_MAN3%%/Font::FreeType::Glyph.3.gz +%%PERL5_MAN3%%/Font::FreeType::NamedInfo.3.gz