ports/52481: Update port: print/panda to 0.5.2

KATO Tsuguru tkato at prontomail.com
Tue May 20 15:10:24 UTC 2003


>Number:         52481
>Category:       ports
>Synopsis:       Update port: print/panda to 0.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 08:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.2

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/panda/Makefile print/panda/Makefile
--- /usr/ports/print/panda/Makefile	Sat Apr 12 23:15:20 2003
+++ print/panda/Makefile	Sat May 17 21:55:37 2003
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	panda
-PORTVERSION=	0.5.1
+PORTVERSION=	0.5.2
 CATEGORIES=	print
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	http://www.stillhq.com/panda/source/
 DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}
 EXTRACT_SUFX=	.tgz
 
@@ -22,12 +21,23 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's| -lpanda| \$$(top_srcdir)/libpanda.la|g' \
+		${WRKSRC}/examples/Makefile.in
+
+pre-configure:
+.for f in config.guess config.sub
+	@${LN} -sf ${LOCALBASE}/share/libtool/${f} ${WRKSRC}/config
+.endfor
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${MANPREFIX}/man/man3
 .if !defined(NOPORTDOCS)
@@ -36,7 +46,7 @@
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 .endfor
 	@${MKDIR} ${EXAMPLESDIR}
-.for f in IMAGES examples/*.c examples/images/*.*
+.for f in IMAGES examples/*.c examples/c++/*.cpp examples/images/*.*
 	${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
 .endfor
 .endif
diff -urN /usr/ports/print/panda/distinfo print/panda/distinfo
--- /usr/ports/print/panda/distinfo	Fri May  3 06:45:01 2002
+++ print/panda/distinfo	Sat May 17 21:56:53 2003
@@ -1 +1 @@
-MD5 (panda_0_5_1.tgz) = 98bdbd52e8e366d1660d4a6746e3f350
+MD5 (panda_0_5_2.tgz) = e544186955335a5fb3dc417490ee1b6b
diff -urN /usr/ports/print/panda/files/patch-configure print/panda/files/patch-configure
--- /usr/ports/print/panda/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ print/panda/files/patch-configure	Sat May 17 21:37:23 2003
@@ -0,0 +1,10 @@
+--- configure.orig	Fri May 16 13:21:40 2003
++++ configure	Sat May 17 21:37:09 2003
+@@ -7860,6 +7860,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/print/panda/pkg-plist print/panda/pkg-plist
--- /usr/ports/print/panda/pkg-plist	Fri May  3 06:45:01 2002
+++ print/panda/pkg-plist	Sat May 17 21:56:23 2003
@@ -2,8 +2,8 @@
 include/panda/functions.h
 include/panda/legacy.h
 include/panda/objects.h
-include/panda/panda_tdb.h
 include/panda/panda_spinlock.h
+include/panda/panda_tdb.h
 lib/libpanda.a
 lib/libpanda.so
 lib/libpanda.so.0
@@ -28,6 +28,7 @@
 %%PORTDOCS%%share/examples/panda/libpng.png
 %%PORTDOCS%%share/examples/panda/main.c
 %%PORTDOCS%%share/examples/panda/morecircles.c
+%%PORTDOCS%%share/examples/panda/pandaexample.cpp
 %%PORTDOCS%%share/examples/panda/template.c
 %%PORTDOCS%%@dirrm share/examples/panda
 %%PORTDOCS%%@dirrm share/doc/panda
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list