Index: head/graphics/sk1libs/Makefile =================================================================== --- head/graphics/sk1libs/Makefile (revision 437137) +++ head/graphics/sk1libs/Makefile (revision 437138) @@ -1,37 +1,34 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= sk1libs PORTVERSION= 0.9.1 PORTREVISION= 2 CATEGORIES= graphics python -MASTER_SITES= GOOGLE_CODE \ +MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/uniconvertor/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Set of python libraries for sK1 Project -BROKEN= Unfetchable (google code has gone away) -DEPRECATED= Unfetchable for more than six months (google code has gone away) -EXPIRATION_DATE= 2017-04-30 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/GNU_LGPL_v2 LIB_DEPENDS= liblcms.so:graphics/lcms \ libfreetype.so:print/freetype2 -PROJECTHOST= uniconvertor - USES= jpeg python USE_PYTHON= distutils PYDISTUTILS_BUILD_TARGET=build_ext PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib \ -I${LOCALBASE}/include:${LOCALBASE}/include/freetype2 post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/utils/fs.py post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/ft2engine/*.so \ + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/ft2engine/*.so \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/pycms/*.so \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sk1libs/imaging/*.so .include Index: head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c =================================================================== --- head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c (revision 437137) +++ head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c (nonexistent) @@ -1,11 +0,0 @@ ---- src/imaging/libimagingft/_imagingft.c.orig 2009-11-01 01:44:12.000000000 +0100 -+++ src/imaging/libimagingft/_imagingft.c 2013-12-16 01:46:04.000000000 +0100 -@@ -70,7 +70,7 @@ - const char* message; - } ft_errors[] = - --#include -+#include FT_ERRORS_H - - /* -------------------------------------------------------------------- */ - /* font objects */ Property changes on: head/graphics/sk1libs/files/patch-src_imaging_libimagingft_imagingft.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: mcom: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: head/graphics/sk1libs/files/patch-src-utils-fs.py =================================================================== --- head/graphics/sk1libs/files/patch-src-utils-fs.py (revision 437137) +++ head/graphics/sk1libs/files/patch-src-utils-fs.py (revision 437138) @@ -1,22 +1,22 @@ ---- src/utils/fs.py.orig 2010-05-23 14:46:21.000000000 +0400 -+++ src/utils/fs.py 2010-10-27 03:55:25.000000000 +0400 -@@ -203,9 +203,11 @@ +--- src/utils/fs.py.orig 2010-05-23 10:46:21 UTC ++++ src/utils/fs.py +@@ -203,9 +203,11 @@ def get_system_fontdirs(): The function detects system font directories according to detected system type. """ + if system.get_os_family()==system.FREEBSD: + return ['/usr/local/lib/X11/fonts', '/usr/local/share/fonts', os.path.join(gethome(),'.fonts')] if system.get_os_family()==system.LINUX: return ['/usr/share/fonts', os.path.join(gethome(),'.fonts')] - if system.get_os_family()==system.WINDOWS: + if system.get_os_family()==system.WINDOWS: try: import _winreg except ImportError: -@@ -311,4 +313,4 @@ +@@ -311,4 +313,4 @@ def _test(): if __name__ == '__main__': _test() - \ No newline at end of file + Index: head/graphics/sk1libs/files/patch-src-utils-system.py =================================================================== --- head/graphics/sk1libs/files/patch-src-utils-system.py (revision 437137) +++ head/graphics/sk1libs/files/patch-src-utils-system.py (revision 437138) @@ -1,19 +1,19 @@ ---- src/utils/system.py.orig 2010-03-08 03:15:33.000000000 +0300 -+++ src/utils/system.py 2010-10-27 04:04:27.000000000 +0400 -@@ -22,6 +22,7 @@ +--- src/utils/system.py.orig 2010-03-08 00:15:33 UTC ++++ src/utils/system.py +@@ -22,6 +22,7 @@ import platform, os, string, re, stat WINDOWS = 'Windows' LINUX = 'Linux' +FREEBSD = 'FreeBSD' MACOSX = 'Darwin' GENERIC = 'generic' -@@ -33,6 +34,8 @@ +@@ -33,6 +34,8 @@ def get_os_family(): name = platform.system() if name == LINUX: return LINUX + elif name == FREEBSD: + return FREEBSD elif name == WINDOWS: return WINDOWS elif name == MACOSX: Index: head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c =================================================================== --- head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c (nonexistent) +++ head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c (revision 437138) @@ -0,0 +1,11 @@ +--- src/imaging/libimagingft/_imagingft.c.orig 2009-11-01 00:44:12 UTC ++++ src/imaging/libimagingft/_imagingft.c +@@ -70,7 +70,7 @@ struct { + const char* message; + } ft_errors[] = + +-#include ++#include FT_ERRORS_H + + /* -------------------------------------------------------------------- */ + /* font objects */ Property changes on: head/graphics/sk1libs/files/patch-src_imaging_libimagingft___imagingft.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: mcom:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/sk1libs/pkg-descr =================================================================== --- head/graphics/sk1libs/pkg-descr (revision 437137) +++ head/graphics/sk1libs/pkg-descr (revision 437138) @@ -1,4 +1,4 @@ sk1libs is a set of python libs for sK1 Project. The package includes multiplatform non-GUI extensions which are usually native extensions. -WWW: http://sk1project.org/ +WWW: http://sk1project.net/