From 889c6ba1351dfb1a6ed4518cf71c29340d27492a Mon Sep 17 00:00:00 2001 From: thierry Date: Sun, 22 Feb 2009 17:40:29 +0000 Subject: Upgrade to 0.8.6b2. Changelog at --- graphics/libboard/Makefile | 9 +++++++-- graphics/libboard/distinfo | 6 +++--- graphics/libboard/files/patch-configure | 19 +++++-------------- graphics/libboard/pkg-plist | 22 ++++++++++++++++++++-- 4 files changed, 35 insertions(+), 21 deletions(-) diff --git a/graphics/libboard/Makefile b/graphics/libboard/Makefile index 6a8a5e72ee52..5b2617e9e813 100644 --- a/graphics/libboard/Makefile +++ b/graphics/libboard/Makefile @@ -6,13 +6,15 @@ # PORTNAME= libboard -PORTVERSION= 0.8.2 +DISTVERSION= 0.8.6b-2 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= thierry@FreeBSD.org COMMENT= A vector graphics C++ library +BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen + HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_ENV= CXX=${CXX} @@ -20,12 +22,14 @@ CONFIGURE_ENV= CXX=${CXX} USE_GMAKE= yes USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/${DISTNAME:C/-.$//} + PORTDOCS= * .include .if ${ARCH} != i386 -CFLAGS+= -fPIC +CXXFLAGS+= -fPIC .endif pre-configure: @@ -42,6 +46,7 @@ post-install: .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ + cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${EXAMPLESDIR}/ ${RM} -rf ${EXAMPLESDIR}/.svn .endif diff --git a/graphics/libboard/distinfo b/graphics/libboard/distinfo index da215a3cba72..3109e4660d84 100644 --- a/graphics/libboard/distinfo +++ b/graphics/libboard/distinfo @@ -1,3 +1,3 @@ -MD5 (libboard-0.8.2.tar.gz) = 2360017013695c27759221d9537279a6 -SHA256 (libboard-0.8.2.tar.gz) = 7762775653f7ec2963b639faf9e894bb9f3b969173d2261291841015b8f1fe92 -SIZE (libboard-0.8.2.tar.gz) = 202025 +MD5 (libboard-0.8.6b-2.tar.gz) = d462ca619221090f72649f40aa4e0fa7 +SHA256 (libboard-0.8.6b-2.tar.gz) = b21cd08fe437d216e4a1eda54a9073785f60120e8aea734c1a9a97e0d32de7b5 +SIZE (libboard-0.8.6b-2.tar.gz) = 299488 diff --git a/graphics/libboard/files/patch-configure b/graphics/libboard/files/patch-configure index 143d63ba7cca..3cd709dea6e7 100644 --- a/graphics/libboard/files/patch-configure +++ b/graphics/libboard/files/patch-configure @@ -1,15 +1,6 @@ ---- configure.orig 2007-12-17 11:15:52.000000000 +0100 -+++ configure 2008-11-19 19:05:16.000000000 +0100 -@@ -60,7 +60,7 @@ - ## - ## Are we on a powerpc (Mac ?) - ## --if [ `arch` = "ppc" ]; then -+if [ `uname -m` = "ppc" ]; then - LDFLAGSLIB=-dynamiclib - DYNLIB_EXTENSION=dynlib - fi -@@ -68,23 +68,23 @@ +--- configure.orig 2009-02-02 12:12:55.000000000 +0100 ++++ configure 2009-02-06 10:28:55.000000000 +0100 +@@ -109,23 +109,23 @@ ## ## Are we on a 64 bits arch ## @@ -38,7 +29,7 @@ +# return n == 0xFFFFFFFF; +#} +#EOF -+#gcc -o is64 is64.c ++#$(CXX) -o is64 is64.c +#if is64; then +#CXX64FLAGS="-fPIC" +#echo yes @@ -48,5 +39,5 @@ +#fi +#rm -f is64 is64.c - cat > Makefile <