- Add LICENSE

- Convert to new options helper
- Use USES=pathfix
- Strip shared library
- Regenerate patch file with makepatch:
- Sort PLIST
- Reformat pkg-descr
- Bump PORTREVISION for package change
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-06-13 13:52:03 +00:00
parent eb70e977eb
commit 913dc6871b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389370
4 changed files with 285 additions and 337 deletions

View File

@ -3,35 +3,25 @@
PORTNAME= silgraphite
PORTVERSION= 2.3.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Font engine for complex non-Roman writing systems
OPTIONS_DEFINE= FREETYPE
OPTIONS_DEFAULT= FREETYPE
OPTIONS_DEFAULT=FREETYPE
OPTIONS_SUB= yes
USES= libtool pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-xft --without-pangographite
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= libtool pathfix pkgconfig
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
USES+= iconv
CONFIGURE_ARGS+= --with-freetype
PLIST_SUB+= WITH_FREETYPE=""
.else
CONFIGURE_ARGS+= --without-freetype
PLIST_SUB+= WITH_FREETYPE="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/engine/Makefile.in
FREETYPE_CONFIGURE_WITH=freetype
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
FREETYPE_USES= iconv
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,9 @@
Graphite is a project under development within SIL'ss Non-Roman Script
Initiative and Language Software Development groups to provide
rendering capabilities for complex non-Roman writing systems. The
original goal was a system for the Windows platform; the system has
also been ported to Linux. Graphite can be used to create "smart
fonts" capable of displaying writing systems with various complex
behaviors. With respect to the Text Encoding Model, Graphite handles
the "Rendering" aspect of writing system implementation.
Initiative and Language Software Development groups to provide rendering
capabilities for complex non-Roman writing systems. The original goal was a
system for the Windows platform; the system has also been ported to Linux.
Graphite can be used to create "smart fonts" capable of displaying writing
systems with various complex behaviors. With respect to the Text Encoding
Model, Graphite handles the "Rendering" aspect of writing system implementation.
WWW: http://silgraphite.sourceforge.net/

View File

@ -1,10 +1,6 @@
%%WITH_FREETYPE%%include/graphite/FreetypeFont.h
%%WITH_FREETYPE%%lib/libgraphite-ft.a
%%WITH_FREETYPE%%lib/libgraphite-ft.so
%%WITH_FREETYPE%%lib/libgraphite-ft.so.0
%%WITH_FREETYPE%%lib/libgraphite-ft.so.0.0.0
include/graphite/FileFont.h
include/graphite/Font.h
%%FREETYPE%%include/graphite/FreetypeFont.h
include/graphite/GrAppData.h
include/graphite/GrClient.h
include/graphite/GrCommon.h
@ -31,4 +27,8 @@ lib/libgraphite.a
lib/libgraphite.so
lib/libgraphite.so.3
lib/libgraphite.so.3.0.0
%%FREETYPE%%lib/libgraphite-ft.a
%%FREETYPE%%lib/libgraphite-ft.so
%%FREETYPE%%lib/libgraphite-ft.so.0
%%FREETYPE%%lib/libgraphite-ft.so.0.0.0
libdata/pkgconfig/silgraphite.pc