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 Thu May 29 23:16:51 2003 @@ -6,10 +6,9 @@ # PORTNAME= panda -PORTVERSION= 0.5.1 +PORTVERSION= 0.5.3 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,25 @@ 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 +.include + +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,10 +48,10 @@ ${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 .include "Makefile.man" -.include +.include diff -urN /usr/ports/print/panda/Makefile.man print/panda/Makefile.man --- /usr/ports/print/panda/Makefile.man Sun Apr 21 00:29:47 2002 +++ print/panda/Makefile.man Thu May 29 23:31:44 2003 @@ -31,6 +31,7 @@ MAN3+= panda_hidewindowui.3 MAN3+= panda_imagebox.3 MAN3+= panda_imageboxrot.3 +MAN3+= panda_imagesize.3 MAN3+= panda_init.3 MAN3+= panda_insertJPEG.3 MAN3+= panda_insertPNG.3 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 Thu May 29 23:13:50 2003 @@ -1 +1 @@ -MD5 (panda_0_5_1.tgz) = 98bdbd52e8e366d1660d4a6746e3f350 +MD5 (panda_0_5_3.tgz) = f91bce35f2dbc827399f91b893ca717d 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