Add Freetype port - impor from FreeBSD ports
This commit is contained in:
parent
742fcdbdb2
commit
4508f31446
15
print/freetype/Makefile
Normal file
15
print/freetype/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/11/19 05:09:06 jasoni Exp $
|
||||
# $FreeBSD: Makefile,v 1.6 1998/06/21 02:42:33 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= freetype-1.1
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/
|
||||
|
||||
MAINTAINER= jasoni@openbsd.org
|
||||
|
||||
USE_GMAKE= YES
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared
|
||||
|
||||
.include <bsd.port.mk>
|
1
print/freetype/files/md5
Normal file
1
print/freetype/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (freetype-1.1.tar.gz) = 374f93425968f882215d0433b65069ed
|
44
print/freetype/patches/patch-ac
Normal file
44
print/freetype/patches/patch-ac
Normal file
@ -0,0 +1,44 @@
|
||||
--- ltmain.sh.orig Sat Sep 19 11:12:26 1998
|
||||
+++ ltmain.sh Sat Sep 19 11:19:06 1998
|
||||
@@ -967,6 +967,16 @@
|
||||
versuffix="$current.$revision"
|
||||
;;
|
||||
|
||||
+ freebsd)
|
||||
+ version_vars="$version_vars major versuffix"
|
||||
+ major="$current"
|
||||
+ if [ $PORTOBJFORMAT = elf ]; then
|
||||
+ versuffix="$current"
|
||||
+ else
|
||||
+ versuffix="$current.$revision"
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
*)
|
||||
$echo "$modename: unknown library version type \`$version_type'" 1>&2
|
||||
echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
|
||||
--- ltconfig.orig Sat Sep 19 11:12:21 1998
|
||||
+++ ltconfig Sat Sep 19 11:15:42 1998
|
||||
@@ -1123,10 +1123,21 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
|
||||
;;
|
||||
|
||||
-freebsd2* | freebsd3*)
|
||||
+freebsd2*)
|
||||
version_type=sunos
|
||||
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
||||
finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ ;;
|
||||
+
|
||||
+freebsd3*)
|
||||
+ version_type=freebsd
|
||||
+ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
||||
+ if [ $PORTOBJFORMAT = elf ]; then
|
||||
+ finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
|
||||
+ else
|
||||
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ fi
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
1
print/freetype/pkg/COMMENT
Normal file
1
print/freetype/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A free and portable TrueType font rendering engine
|
7
print/freetype/pkg/DESCR
Normal file
7
print/freetype/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
The FreeType engine is a free and portable TrueType font rendering
|
||||
engine. It has been developed to provide TT support to a great
|
||||
variety of platforms and environments.
|
||||
|
||||
Notice that FreeType is a *library*. It is *not* a font server
|
||||
for your preferred environment, even though it was designed to
|
||||
allow the design of many font servers.
|
22
print/freetype/pkg/PLIST
Normal file
22
print/freetype/pkg/PLIST
Normal file
@ -0,0 +1,22 @@
|
||||
bin/ftdump
|
||||
bin/ftlint
|
||||
bin/ftstring
|
||||
bin/ftstrpnm
|
||||
bin/fttimer
|
||||
bin/ftview
|
||||
bin/ftzoom
|
||||
include/freetype.h
|
||||
include/fterrid.h
|
||||
include/ftnameid.h
|
||||
include/ftxcmap.h
|
||||
include/ftxerr18.h
|
||||
include/ftxgasp.h
|
||||
include/ftxkern.h
|
||||
include/ftxpost.h
|
||||
include/ftxwidth.h
|
||||
lib/libttf.a
|
||||
lib/libttf.la
|
||||
lib/libttf.so
|
||||
lib/libttf.so.2
|
||||
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
|
||||
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
Loading…
x
Reference in New Issue
Block a user