Index: head/graphics/Hermes/Makefile =================================================================== --- head/graphics/Hermes/Makefile (revision 557403) +++ head/graphics/Hermes/Makefile (revision 557404) @@ -1,46 +1,36 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ PORTNAME= Hermes PORTVERSION= 1.3.3 PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= ftp://ftp.su.se/pub/lunar/source-archive/ \ GENTOO 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 USE_LDCONFIG= yes 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 Index: head/graphics/Hermes/files/patch-src__HeadMMX.h =================================================================== --- head/graphics/Hermes/files/patch-src__HeadMMX.h (revision 557403) +++ head/graphics/Hermes/files/patch-src__HeadMMX.h (revision 557404) @@ -1,11 +1,11 @@ ---- ./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 */ -#if defined(__ELF__) && defined(__GNUC__) +#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4 #ifdef __cplusplus extern "C" { #endif Index: head/graphics/Hermes/files/patch-src__HeadX86.h =================================================================== --- head/graphics/Hermes/files/patch-src__HeadX86.h (revision 557403) +++ head/graphics/Hermes/files/patch-src__HeadX86.h (revision 557404) @@ -1,11 +1,11 @@ ---- ./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 */ -#if defined(__ELF__) && defined(__GNUC__) +#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4 #ifdef __cplusplus extern "C" { #endif Index: head/graphics/Hermes/files/patch-src__Makefile.in =================================================================== --- head/graphics/Hermes/files/patch-src__Makefile.in (revision 557403) +++ head/graphics/Hermes/files/patch-src__Makefile.in (revision 557404) @@ -1,19 +1,19 @@ ---- ./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: - gcc -c -o $@ $< + $(CC) -c -o $@ $< cp $@ `echo $@ | sed -e 's/\.lo$$/.o/'` install-data-local: - $(INSTALL) -m 0755 -d $(includedir)/Hermes + $(mkinstalldirs) $(DESTDIR)$(includedir)/Hermes for incfile in $(publicheaders); do \ - $(INSTALL) -m 0644 $$incfile $(includedir)/Hermes; \ + $(INSTALL_DATA) $$incfile $(DESTDIR)$(includedir)/Hermes; \ done uninstall-local: Index: head/graphics/Hermes/pkg-descr =================================================================== --- head/graphics/Hermes/pkg-descr (revision 557403) +++ head/graphics/Hermes/pkg-descr (revision 557404) @@ -1,6 +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). + +WWW: http://web.archive.org/web/20061005045333/http://www.clanlib.org/hermes/