Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2020 01:07:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557404 - in head/graphics/Hermes: . files
Message-ID:  <202012100107.0BA173UA070029@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 10 01:07:03 2020
New Revision: 557404
URL: https://svnweb.freebsd.org/changeset/ports/557404

Log:
  - Add LICENSE
  - Simplify docs installation
  - Regenerate patches
  - Add WWW

Modified:
  head/graphics/Hermes/Makefile
  head/graphics/Hermes/files/patch-src__HeadMMX.h
  head/graphics/Hermes/files/patch-src__HeadX86.h
  head/graphics/Hermes/files/patch-src__Makefile.in
  head/graphics/Hermes/pkg-descr

Modified: head/graphics/Hermes/Makefile
==============================================================================
--- head/graphics/Hermes/Makefile	Thu Dec 10 01:04:41 2020	(r557403)
+++ head/graphics/Hermes/Makefile	Thu Dec 10 01:07:03 2020	(r557404)
@@ -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>

Modified: head/graphics/Hermes/files/patch-src__HeadMMX.h
==============================================================================
--- head/graphics/Hermes/files/patch-src__HeadMMX.h	Thu Dec 10 01:04:41 2020	(r557403)
+++ head/graphics/Hermes/files/patch-src__HeadMMX.h	Thu Dec 10 01:07:03 2020	(r557404)
@@ -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 */
  

Modified: head/graphics/Hermes/files/patch-src__HeadX86.h
==============================================================================
--- head/graphics/Hermes/files/patch-src__HeadX86.h	Thu Dec 10 01:04:41 2020	(r557403)
+++ head/graphics/Hermes/files/patch-src__HeadX86.h	Thu Dec 10 01:07:03 2020	(r557404)
@@ -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 */
  

Modified: head/graphics/Hermes/files/patch-src__Makefile.in
==============================================================================
--- head/graphics/Hermes/files/patch-src__Makefile.in	Thu Dec 10 01:04:41 2020	(r557403)
+++ head/graphics/Hermes/files/patch-src__Makefile.in	Thu Dec 10 01:07:03 2020	(r557404)
@@ -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:

Modified: head/graphics/Hermes/pkg-descr
==============================================================================
--- head/graphics/Hermes/pkg-descr	Thu Dec 10 01:04:41 2020	(r557403)
+++ head/graphics/Hermes/pkg-descr	Thu Dec 10 01:07:03 2020	(r557404)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012100107.0BA173UA070029>