summaryrefslogtreecommitdiffstats
path: root/print/panda
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-01 06:49:30 +0000
committerdaichi <daichi@FreeBSD.org>2003-07-01 06:49:30 +0000
commit0e6accf255240ea77388c2b4070525f3049891f9 (patch)
treea0a4a1b7221effc2da884530b1c5e7eb02632bc5 /print/panda
parent0b3265666359b6f7171c480af5749332dcf26a01 (diff)
downloadFreeBSD-ports-0e6accf255240ea77388c2b4070525f3049891f9.zip
FreeBSD-ports-0e6accf255240ea77388c2b4070525f3049891f9.tar.gz
update print/panda: 0.5.1 --> 0.5.3
PR: 52863 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/panda')
-rw-r--r--print/panda/Makefile22
-rw-r--r--print/panda/Makefile.man1
-rw-r--r--print/panda/distinfo2
-rw-r--r--print/panda/files/patch-configure10
-rw-r--r--print/panda/pkg-plist3
5 files changed, 31 insertions, 7 deletions
diff --git a/print/panda/Makefile b/print/panda/Makefile
index 94b0976..4540e0a 100644
--- a/print/panda/Makefile
+++ b/print/panda/Makefile
@@ -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 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
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 <bsd.port.pre.mk>
+
+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 @@ post-install:
${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 <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/print/panda/Makefile.man b/print/panda/Makefile.man
index 45271cd..7266209 100644
--- a/print/panda/Makefile.man
+++ b/print/panda/Makefile.man
@@ -31,6 +31,7 @@ MAN3+= panda_hidetoolbar.3
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 --git a/print/panda/distinfo b/print/panda/distinfo
index 9d2cdda..6cffa46 100644
--- a/print/panda/distinfo
+++ b/print/panda/distinfo
@@ -1 +1 @@
-MD5 (panda_0_5_1.tgz) = 98bdbd52e8e366d1660d4a6746e3f350
+MD5 (panda_0_5_3.tgz) = f91bce35f2dbc827399f91b893ca717d
diff --git a/print/panda/files/patch-configure b/print/panda/files/patch-configure
new file mode 100644
index 0000000..bc3a2c8
--- /dev/null
+++ b/print/panda/files/patch-configure
@@ -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 --git a/print/panda/pkg-plist b/print/panda/pkg-plist
index 82075ee..0307e0d 100644
--- a/print/panda/pkg-plist
+++ b/print/panda/pkg-plist
@@ -2,8 +2,8 @@ include/panda/constants.h
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 @@ lib/libpanda.so.0
%%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
OpenPOWER on IntegriCloud