diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-01-13 19:00:10 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-01-13 19:00:10 +0000 |
commit | d6517966ce9108f230b986076a540a413cacc3b0 (patch) | |
tree | b07d54e89a46f9d428c6d133e05729fd05a928e5 | |
parent | - Update to 2.0.6 (diff) |
- Add support for libspiro (handles using clothoid splines as opposed to
bezier splines)
- Correct configure args to be correct, were using with/without instead of
enable/disable
- Bump PORTREVISION
PR: 119612
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=205604
-rw-r--r-- | print/fontforge/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index 25f2bb46e510..ce8d5e535aa7 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -7,6 +7,7 @@ PORTNAME= fontforge PORTVERSION= 20080109 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF DISTFILES= ${EXTRACT_ONLY} ${DOCFILES} @@ -21,7 +22,8 @@ LIB_DEPENDS= uninameslist.0:${PORTSDIR}/textproc/libuninameslist \ png.5:${PORTSDIR}/graphics/png \ ungif.5:${PORTSDIR}/graphics/libungif \ freetype.9:${PORTSDIR}/print/freetype2 \ - xml2.5:${PORTSDIR}/textproc/libxml2 + xml2.5:${PORTSDIR}/textproc/libxml2 \ + spiro.0:${PORTSDIR}/graphics/libspiro .if defined(FONTFORGE_WITH_TTF_DEBUGGER) FREETYPE_VERSION= 2.3.5 @@ -41,16 +43,18 @@ USE_XLIB= yes PATCH_STRIP= -l .if !defined(FONTFORGE_NO_MULTILAYER) -WITH_MULTILAYER= --with-multilayer +WITH_MULTILAYER= --enable-multilayer +.else +WITH_MULTILAYER= --disable-multilayer .endif .if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && defined(FONTFORGE_WITH_TTF_DEBUGGER) -WITH_FREETYPE_SRC= --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION} +WITH_FREETYPE_SRC= --with-freetype-bytecode --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION} .else -WITH_FREETYPE_SRC= --without-freetype-src +WITH_FREETYPE_SRC= --without-freetype-bytecode --without-freetype-src .endif -CONFIGURE_ARGS= ${WITH_MULTILAYER} --with-devicetables ${WITH_FREETYPE_SRC} +CONFIGURE_ARGS= ${WITH_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC} CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lutil" CFLAGS="${CFLAGS} \ -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" \ CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" @@ -72,6 +76,7 @@ PLIST_SUB+= NO_PLUGINS="" USE_PYTHON= yes ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= Python on non-i386 systems doesn't link with Fontforge (issues with use of Python's .a file) +CONFIGURE_ARGS+= --with-python .else CONFIGURE_ARGS+= --without-python .endif |