diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2019-07-21 18:15:12 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2019-07-21 18:15:12 +0200 |
commit | af4152bc853df183aa8665c6b49f2e1cdfb7c18f (patch) | |
tree | a5114263a6495f7fbdce439849df985fb88be2ba | |
parent | 7a02b04767dd154a11c3978d8441159c291db071 (diff) |
initial freetype2
-rw-r--r-- | print/freetype2/Makefile | 141 | ||||
-rw-r--r-- | print/freetype2/distinfo | 2 | ||||
-rw-r--r-- | print/freetype2/pkg/DESCR | 5 |
3 files changed, 148 insertions, 0 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile new file mode 100644 index 0000000..8bd4ab1 --- /dev/null +++ b/print/freetype2/Makefile @@ -0,0 +1,141 @@ +# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $ + +COMMENT = software library to render fonts. +V= 2.10.1 +DISTNAME = freetype-${V} +PKGNAME = freetype2-${V} + +SHARED_LIBS = freetype 30.0 + +CATEGORIES = print + +HOMEPAGE = https://www.freetype.org/ + +MAINTAINER = xenocara@openbsd.org + +# FTL / GPL https://www.freetype.org/license.html +PERMIT_PACKAGE = Yes +PERMIT_DISTFILES = Yes + +# "make port-lib-depends-check" can help +#WANTLIB = ??? + +# where the source files and patches can be fetched +# +MASTER_SITES = https://download.savannah.gnu.org/releases/freetype/ +MASTER_SITES += ${MASTER_SITE_SOURCEFORGE:=freetype/} +#MASTER_SITES = ${MASTER_SITE_foo:=subdir/} + +EXTRACT_SUFX = .tar.xz + +COMPILER = base-clang ports-gcc base-gcc + +# Dependencies +#MODULES = ??? +#BUILD_DEPENDS = ??? +#RUN_DEPENDS = ??? +#LIB_DEPENDS = ??? +#TEST_DEPENDS = ??? + +#MAKE_FLAGS = ??? +#MAKE_ENV = ??? +#FAKE_FLAGS = ??? +#TEST_FLAGS = ??? + +# build/configuration variables +# +# SEPARATE_BUILD = Yes +USE_GMAKE = Yes + +# Programs that require GNU libtool to build instead of the OpenBSD one +# should use this option. Add a comment explaining why. Don't use this if +# a port requires libtool's .m4 files but otherwise can use OpenBSD libtool, +# in that case use "BUILD_DEPENDS=devel/libtool" instead. +#USE_LIBTOOL= gnu +# Set CONFIGURE_STYLE to value corresponding to some standard configuration +# perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's +# Module::Build Build.PL) +# gnu [autoconf] [old] [dest]: gnu style configure (old: no +# sysconfdir), (dest: add DESTDIR, does not handle it), +# autoconf: run autoconf to regenerate configure script. implies gnu. +# (see also "do-gen" target below). +# XXX: cygnus products do NOT use autoconf for making the main +# configure from configure.in +# imake [noman]: port uses imake for configuration. +# (noman: no man page installation) +# simple: port has its own configure script +# none: override default CONFIGURE_STYLE coming from a module +# (needed for some ports using lang/python, etc.) +CONFIGURE_STYLE = simple +CONFIGURE_ARGS = --with-bzip2=no --with-png=no --with-harfbuzz=no + +# for gnu stuff +#AUTOCONF_VERSION = ??? (defaults to 2.13) +#AUTOMAKE_VERSION = ??? (defaults to 1.4) +# config.guess and others are copied here +#MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC}) + +# Is the build automagic or is it interactive +# +#IS_INTERACTIVE = Yes +#TEST_IS_INTERACTIVE = Yes + +# Assume you have one multiple choice flavor: 1 2 3 and switches a b. +# You would write +# +#FLAVORS = 1 2 3 a b +#FLAVOR ?= +# grab multiple choice value +#CHOICE = ${FLAVOR:Na:Nb} +# check that CHOICE is 1 OR 2 OR 3, or error out +#.if ${CHOICE} == "1" +# code for 1 +#.elif ${CHOICE} == "2" +# code for 2 +#.elif ${CHOICE} == "3" +# code for 3 +#.else +#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" +#.endif +# check for switches +#.if ${FLAVOR:Ma} +# code for a +#.endif +#.if ${FLAVOR:Mb} +# code for b +#.endif + +# Things that we don't want to do for this port/package +# Generally, DON'T set anything to No if it's not needed. +# The time gained is not worth it. +# +#NO_BUILD = Yes +#NO_TEST = Yes + +# Overrides for default values +# +#CFLAGS = ??? +#LDFLAGS = ??? +#MAKE_FILE = ??? +#PKG_ARCH = ??? (* for arch-independent packages) +#WRKDIST = ??? if other than ${WRKDIR}/${DISTNAME} +#WRKSRC = ??? if other than ${WRKDIST} +#WRKBUILD = ??? if other than ${WRKSRC} +#WRKCONF = ??? if other than ${WRKBUILD} + +#ALL_TARGET = ??? +#INSTALL_TARGET = ??? +#TEST_TARGET = ??? + +# For ports that use a script or autoreconf to generate autoconf/automake +# files (where "CONFIGURE_STYLE=autoconf" isn't enough), use some/all of these +# dependencies, and add a do-gen target: +# +#BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \ +# ${MODGNU_AUTOMAKE_DEPENDS} \ +# devel/libtool +# +#do-gen: +# cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh + +.include <bsd.port.mk> diff --git a/print/freetype2/distinfo b/print/freetype2/distinfo new file mode 100644 index 0000000..66779c7 --- /dev/null +++ b/print/freetype2/distinfo @@ -0,0 +1,2 @@ +SHA256 (freetype-2.10.1.tar.xz) = Ftv6SIoh/oJ9wn6vcI9C96o7uZfXRdMaGXgWKMNrom8= +SIZE (freetype-2.10.1.tar.xz) = 2378784 diff --git a/print/freetype2/pkg/DESCR b/print/freetype2/pkg/DESCR new file mode 100644 index 0000000..fb09993 --- /dev/null +++ b/print/freetype2/pkg/DESCR @@ -0,0 +1,5 @@ +FreeType is a freely available software library to render fonts. + +It is written in C, designed to be small, efficient, highly +customizable, and portable while capable of producing high-quality +output (glyph images) of most vector and bitmap font formats. |