summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-10 01:07:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-10 01:07:03 +0000
commit85f8f357b4c655760d41feec882ca4ed3e18162b (patch)
tree92d4931813733e813385ad266bb3ee1c69a1e7ee
parentarchivers/zchunk: Update 1.1.7 -> 1.1.8 (diff)
- Add LICENSE
- Simplify docs installation - Regenerate patches - Add WWW
Notes
Notes: svn path=/head/; revision=557404
-rw-r--r--graphics/Hermes/Makefile26
-rw-r--r--graphics/Hermes/files/patch-src__HeadMMX.h6
-rw-r--r--graphics/Hermes/files/patch-src__HeadX86.h6
-rw-r--r--graphics/Hermes/files/patch-src__Makefile.in6
-rw-r--r--graphics/Hermes/pkg-descr2
5 files changed, 19 insertions, 27 deletions
diff --git a/graphics/Hermes/Makefile b/graphics/Hermes/Makefile
index 4e17c8871758..4f2dc894dde9 100644
--- a/graphics/Hermes/Makefile
+++ b/graphics/Hermes/Makefile
@@ -11,6 +11,11 @@ MASTER_SITES= ftp://ftp.su.se/pub/lunar/source-archive/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast pixel formats conversion library
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BROKEN_sparc64= interchanges red and blue colour channels in images
+
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool tar:bzip2
@@ -19,28 +24,13 @@ LDFLAGS_i386= -Wl,-znotext
PORTDOCS= *
-DOCSRCDIR1= ${WRKSRC}
-DOC_FILES1= AUTHORS ChangeLog FAQ README
-
-DOCSRCDIR2= ${WRKSRC}/docs/api
-DOCSDIR2= ${DOCSDIR}/docs/api
-DOC_FILES2= *.htm api.ps api.txt
-
-DOCSRCDIR3= ${WRKSRC}/docs/api/sgml
-DOCSDIR3= ${DOCSDIR}/docs/api/sgml
-DOC_FILES3= api.sgml
-
OPTIONS_DEFINE= DOCS
-BROKEN_sparc64= interchanges red and blue colour channels in images
-
post-extract:
${TOUCH} ${WRKSRC}/src/hrconfig.h.in
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR3}
- ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
- ${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
+post-install-DOCS-on:
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog FAQ README docs" \
+ ${STAGEDIR}${DOCSDIR} "! -name generate"
.include <bsd.port.mk>
diff --git a/graphics/Hermes/files/patch-src__HeadMMX.h b/graphics/Hermes/files/patch-src__HeadMMX.h
index 1694f51cf052..742ac3df58a3 100644
--- a/graphics/Hermes/files/patch-src__HeadMMX.h
+++ b/graphics/Hermes/files/patch-src__HeadMMX.h
@@ -1,6 +1,6 @@
---- ./src/HeadMMX.h.orig 2000-12-06 05:55:28.000000000 +0100
-+++ ./src/HeadMMX.h 2014-01-17 03:59:56.000000000 +0100
-@@ -51,7 +51,7 @@
+--- src/HeadMMX.h.orig 2000-12-06 04:55:28 UTC
++++ src/HeadMMX.h
+@@ -51,7 +51,7 @@ void ConvertMMXp32_16RGB555();
/* Fix the underscore business with ELF compilers */
diff --git a/graphics/Hermes/files/patch-src__HeadX86.h b/graphics/Hermes/files/patch-src__HeadX86.h
index b5fd20918c29..b1c6fdf1af79 100644
--- a/graphics/Hermes/files/patch-src__HeadX86.h
+++ b/graphics/Hermes/files/patch-src__HeadX86.h
@@ -1,6 +1,6 @@
---- ./src/HeadX86.h.orig 2000-12-06 05:55:28.000000000 +0100
-+++ ./src/HeadX86.h 2014-01-17 03:59:56.000000000 +0100
-@@ -83,7 +83,7 @@
+--- src/HeadX86.h.orig 2000-12-06 04:55:28 UTC
++++ src/HeadX86.h
+@@ -83,7 +83,7 @@ extern int32 ConvertX86p16_32BGRA888_LUT_X86[512];
/* Now fix up the ELF underscore problem */
diff --git a/graphics/Hermes/files/patch-src__Makefile.in b/graphics/Hermes/files/patch-src__Makefile.in
index 7eed3c040885..763b2e6cbf5d 100644
--- a/graphics/Hermes/files/patch-src__Makefile.in
+++ b/graphics/Hermes/files/patch-src__Makefile.in
@@ -1,6 +1,6 @@
---- ./src/Makefile.in.orig 2003-07-06 17:56:57.000000000 +0200
-+++ ./src/Makefile.in 2014-01-17 04:02:38.000000000 +0100
-@@ -540,13 +540,13 @@
+--- src/Makefile.in.orig 2003-07-06 15:56:57 UTC
++++ src/Makefile.in
+@@ -540,13 +540,13 @@ uninstall-am: uninstall-info-am uninstall-libLTLIBRARI
.S.o:
diff --git a/graphics/Hermes/pkg-descr b/graphics/Hermes/pkg-descr
index 77ce2468a679..48ea00eb4915 100644
--- a/graphics/Hermes/pkg-descr
+++ b/graphics/Hermes/pkg-descr
@@ -4,3 +4,5 @@ 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).
+
+WWW: http://web.archive.org/web/20061005045333/http://www.clanlib.org/hermes/