aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/Hermes
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-03 12:19:24 +0800
committersteve <steve@FreeBSD.org>1999-05-03 12:19:24 +0800
commit22472523b27dcb4f7a0bb212bcd02baa8d747aa7 (patch)
treea04f6f8c86de2f4aa8dd46bb512f6539f63e50ac /graphics/Hermes
parent30c0586dab0f35797638409342fea36f32ed9df5 (diff)
downloadfreebsd-ports-gnome-22472523b27dcb4f7a0bb212bcd02baa8d747aa7.tar.gz
freebsd-ports-gnome-22472523b27dcb4f7a0bb212bcd02baa8d747aa7.tar.zst
freebsd-ports-gnome-22472523b27dcb4f7a0bb212bcd02baa8d747aa7.zip
Initial import of Hermes version 1.2.4.
A fast pixel formats conversion library. PR: 11381 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'graphics/Hermes')
-rw-r--r--graphics/Hermes/Makefile34
-rw-r--r--graphics/Hermes/distinfo1
-rw-r--r--graphics/Hermes/files/patch-aa29
-rw-r--r--graphics/Hermes/pkg-comment1
-rw-r--r--graphics/Hermes/pkg-descr8
-rw-r--r--graphics/Hermes/pkg-plist31
6 files changed, 104 insertions, 0 deletions
diff --git a/graphics/Hermes/Makefile b/graphics/Hermes/Makefile
new file mode 100644
index 000000000000..89b80cc512fb
--- /dev/null
+++ b/graphics/Hermes/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: Hermes
+# Version required: 1.2.4
+# Date created: 29 April 1999
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= Hermes-1.2.4
+CATEGORIES= graphics
+MASTER_SITES= http://hermes.terminal.at/files/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-install:
+ @ ${LN} -sf libHermes.so.1 ${PREFIX}/lib/libHermes.so
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/Hermes
+.for file in AUTHORS CHANGES COPYING Hermes.spec README TODO TODO.conversion
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/Hermes
+.endfor
+ @ ${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${PREFIX}/share/doc/Hermes
+ @ ${MKDIR} ${PREFIX}/share/doc/Hermes/API
+.for file in api-1.htm api-2.htm api-3.htm api-4.htm api.htm api.ps api.txt
+ @ ${INSTALL_DATA} ${WRKSRC}/docs/api/${file} ${PREFIX}/share/doc/Hermes/API
+.endfor
+ @ ${INSTALL_DATA} ${WRKSRC}/docs/api/sgml/api.sgml ${PREFIX}/share/doc/Hermes/API
+.endif
+ @ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/Hermes/distinfo b/graphics/Hermes/distinfo
new file mode 100644
index 000000000000..7906da538c82
--- /dev/null
+++ b/graphics/Hermes/distinfo
@@ -0,0 +1 @@
+MD5 (Hermes-1.2.4.tar.gz) = 7b32961a5843485825a3f8d303b78513
diff --git a/graphics/Hermes/files/patch-aa b/graphics/Hermes/files/patch-aa
new file mode 100644
index 000000000000..dab96f743a94
--- /dev/null
+++ b/graphics/Hermes/files/patch-aa
@@ -0,0 +1,29 @@
+--- ltconfig.orig Mon Feb 22 16:03:35 1999
++++ ltconfig Sat May 1 21:40:42 1999
+@@ -1236,7 +1236,7 @@
+ ;;
+
+ # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+- freebsd3*)
++ freebsd*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -1670,7 +1670,7 @@
+ shlibpath_var=PATH
+ ;;
+
+-freebsd2* | freebsd3*)
++freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case "$version_type" in
+@@ -1683,7 +1683,7 @@
+ ;;
+ esac
+ library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+- finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir'
++ finish_cmds="PATH=\"\$PATH:/sbin\" OBJFORMAT=$objformat ldconfig -m \$libdir"
+ shlibpath_var=LD_LIBRARY_PATH
+ need_version=yes
+ ;;
diff --git a/graphics/Hermes/pkg-comment b/graphics/Hermes/pkg-comment
new file mode 100644
index 000000000000..98a1c430429e
--- /dev/null
+++ b/graphics/Hermes/pkg-comment
@@ -0,0 +1 @@
+Fast pixel formats conversion library.
diff --git a/graphics/Hermes/pkg-descr b/graphics/Hermes/pkg-descr
new file mode 100644
index 000000000000..db3940c3a507
--- /dev/null
+++ b/graphics/Hermes/pkg-descr
@@ -0,0 +1,8 @@
+ HERMES, named after the messenger of the gods, is a library whose
+only purpose is to convert graphic data from one pixel format to another in
+the fastest possible way.
+
+ HERMES will also do surface clearing. And it will do it FAST (even with
+x86 and MMX routines if you're on those platforms).
+
+http://hermes.terminal.at
diff --git a/graphics/Hermes/pkg-plist b/graphics/Hermes/pkg-plist
new file mode 100644
index 000000000000..8e670ee7f45c
--- /dev/null
+++ b/graphics/Hermes/pkg-plist
@@ -0,0 +1,31 @@
+include/Hermes/H_Clear.h
+include/Hermes/H_Conv.h
+include/Hermes/H_Format.h
+include/Hermes/H_Pal.h
+include/Hermes/Hermes.h
+include/Hermes/Types.h
+lib/libHermes.a
+lib/libHermes.la
+lib/libHermes.so
+lib/libHermes.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+share/doc/Hermes/AUTHORS
+share/doc/Hermes/CHANGES
+share/doc/Hermes/COPYING
+share/doc/Hermes/FAQ
+share/doc/Hermes/Hermes.spec
+share/doc/Hermes/README
+share/doc/Hermes/TODO
+share/doc/Hermes/TODO.conversion
+share/doc/Hermes/API/api-1.htm
+share/doc/Hermes/API/api-2.htm
+share/doc/Hermes/API/api-3.htm
+share/doc/Hermes/API/api-4.htm
+share/doc/Hermes/API/api.htm
+share/doc/Hermes/API/api.ps
+share/doc/Hermes/API/api.sgml
+share/doc/Hermes/API/api.txt
+@dirrm share/doc/Hermes/API
+@dirrm share/doc/Hermes
+@dirrm include/Hermes