summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-18 20:46:34 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-18 20:46:34 +0000
commit625870c75a0aa377558ec02ddaf743701926a8cc (patch)
tree2e20d334a0b738df5c1996366b186622dd797320
parent3ce8d05a7d3f2d92a6e9fe78927369d330e2bebb (diff)
downloadfreebsd-ports-625870c75a0aa377558ec02ddaf743701926a8cc.zip
- Remove old libtool patch
- Touch config header in post-extract to avoid autotools - Add INSTALL_TARGET=install-strip - Use BROKEN_sparc64
-rw-r--r--graphics/Hermes/Makefile19
-rw-r--r--graphics/Hermes/files/patch-configure16
-rw-r--r--graphics/Hermes/pkg-plist1
3 files changed, 8 insertions, 28 deletions
diff --git a/graphics/Hermes/Makefile b/graphics/Hermes/Makefile
index 0008d7bd8839..2cd24bd640d2 100644
--- a/graphics/Hermes/Makefile
+++ b/graphics/Hermes/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Hermes
PORTVERSION= 1.3.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.su.se/pub/lunar/source-archive/ \
GENTOO/distfiles
@@ -11,11 +11,9 @@ MASTER_SITES= ftp://ftp.su.se/pub/lunar/source-archive/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast pixel formats conversion library
-USES= gmake libtool tar:bzip2
-USE_AUTOTOOLS= libtoolize
GNU_CONFIGURE= yes
-MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
- AUTOHEADER="${TRUE}"
+INSTALL_TARGET= install-strip
+USES= gmake libtool tar:bzip2
USE_LDCONFIG= yes
PORTDOCS= *
@@ -33,18 +31,15 @@ DOC_FILES3= api.sgml
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
+BROKEN_sparc64= interchanges red and blue colour channels in images
-.if ${ARCH} == sparc64
-IGNORE= is broken on sparc64: interchanges red and blue colour channels in images
-.endif
+post-extract:
+ ${TOUCH} ${WRKSRC}/src/hrconfig.h.in
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.1
-
@${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}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/Hermes/files/patch-configure b/graphics/Hermes/files/patch-configure
deleted file mode 100644
index 5aa1707c5b24..000000000000
--- a/graphics/Hermes/files/patch-configure
+++ /dev/null
@@ -1,16 +0,0 @@
---- ./configure.orig 2003-07-06 17:56:59.000000000 +0200
-+++ ./configure 2014-01-17 03:59:56.000000000 +0100
-@@ -7766,10 +7766,11 @@
-
-
- # This can be used to rebuild libtool when needed
--LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+LIBTOOL_DEPS=" /usr/local/share/libtool/config/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) /usr/local/bin/libtool'
-
- # Prevent multiple expansion
-
diff --git a/graphics/Hermes/pkg-plist b/graphics/Hermes/pkg-plist
index e3a8cefb8c43..f37037d77f51 100644
--- a/graphics/Hermes/pkg-plist
+++ b/graphics/Hermes/pkg-plist
@@ -10,4 +10,5 @@ include/Hermes/Types.h
lib/libHermes.a
lib/libHermes.so
lib/libHermes.so.1
+lib/libHermes.so.1.0.0
@dirrm include/Hermes