summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-01 06:49:30 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-01 06:49:30 +0000
commit60810775d4ed1cff0ce7718249d8a183138d58f2 (patch)
treeda2c455e7cbd927a349d7c52803125a8ed348ac7 /print
parentupdate devel/autogen: 5.5.3 --> 5.5.5 (diff)
update print/panda: 0.5.1 --> 0.5.3
PR: 52863 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=83954
Diffstat (limited to 'print')
-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 94b097611c82..4540e0a24f7f 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 45271cd27f39..7266209e7b74 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 9d2cdda9b2f0..6cffa46fbb84 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 000000000000..bc3a2c827dcb
--- /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 82075eef9711..0307e0d1813d 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