summaryrefslogtreecommitdiffstats
path: root/misc/tellico-kde4
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-17 21:33:26 +0000
committerkrion <krion@FreeBSD.org>2004-02-17 21:33:26 +0000
commit2eaab0ace434db0905eb257bc1b7ed82baffaa6f (patch)
tree9975b5158395a0408ef6695dd474d4f03269d8f7 /misc/tellico-kde4
parente3410d1d39f69d524f6064dfd77595ea64d66f46 (diff)
downloadFreeBSD-ports-2eaab0ace434db0905eb257bc1b7ed82baffaa6f.zip
FreeBSD-ports-2eaab0ace434db0905eb257bc1b7ed82baffaa6f.tar.gz
- Update to version 0.8.3
PR: ports/62981 Submitted by: maintainer
Diffstat (limited to 'misc/tellico-kde4')
-rw-r--r--misc/tellico-kde4/Makefile19
-rw-r--r--misc/tellico-kde4/distinfo3
-rw-r--r--misc/tellico-kde4/files/patch-filehandler.h11
-rw-r--r--misc/tellico-kde4/pkg-plist47
4 files changed, 73 insertions, 7 deletions
diff --git a/misc/tellico-kde4/Makefile b/misc/tellico-kde4/Makefile
index 7abb227..18d43b4 100644
--- a/misc/tellico-kde4/Makefile
+++ b/misc/tellico-kde4/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bookcase
-PORTVERSION= 0.7.2
-PORTREVISION= 1
+PORTVERSION= 0.8.3
CATEGORIES= misc kde
MASTER_SITES= http://www.periapsis.org/bookcase/download/
@@ -16,7 +15,23 @@ COMMENT= Personal book collection manager for KDE
USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|strings.h|bc_strings.h|g' \
+ ${WRKSRC}/src/Makefile.in \
+ ${WRKSRC}/src/filehandler.cpp \
+ ${WRKSRC}/src/translators/bibtexmlimporter.cpp \
+ ${WRKSRC}/src/translators/bookcaseimporter.cpp
+ @${MV} ${WRKSRC}/src/strings.h ${WRKSRC}/src/bc_strings.h
+ @${TOUCH} ${WRKSRC}/config.h.in
.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+CFLAGS+= -D__LIBSTDCPP_PARTIAL_SUPPORT__
+.endif
+
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>
diff --git a/misc/tellico-kde4/distinfo b/misc/tellico-kde4/distinfo
index 20f5502..e902edf 100644
--- a/misc/tellico-kde4/distinfo
+++ b/misc/tellico-kde4/distinfo
@@ -1 +1,2 @@
-MD5 (bookcase-0.7.2.tar.gz) = 7c1b7e62d60bfdba51daf407fe4b974f
+MD5 (bookcase-0.8.3.tar.gz) = 0fbae2e650baf72b283c774aee027b78
+SIZE (bookcase-0.8.3.tar.gz) = 1354517
diff --git a/misc/tellico-kde4/files/patch-filehandler.h b/misc/tellico-kde4/files/patch-filehandler.h
new file mode 100644
index 0000000..a451e8d
--- /dev/null
+++ b/misc/tellico-kde4/files/patch-filehandler.h
@@ -0,0 +1,11 @@
+--- src/filehandler.h.orig Tue Feb 17 21:05:58 2004
++++ src/filehandler.h Tue Feb 17 21:05:06 2004
+@@ -131,6 +131,8 @@
+ static bool writeDataFile(KSaveFile& file, const QByteArray& data);
+
+ static MainWindow* s_mainWindow;
++
++ friend class FileRef;
+ };
+
+ } // end namespace
diff --git a/misc/tellico-kde4/pkg-plist b/misc/tellico-kde4/pkg-plist
index 2e7ebc0..ee5aed6 100644
--- a/misc/tellico-kde4/pkg-plist
+++ b/misc/tellico-kde4/pkg-plist
@@ -8,14 +8,26 @@ share/apps/bookcase/bookcase.dtd
share/apps/bookcase/bookcase.tips
share/apps/bookcase/bookcase2html.xsl
share/apps/bookcase/bookcaseui.rc
+share/apps/bookcase/entry-templates/Album.xsl
+share/apps/bookcase/entry-templates/Default.xsl
+share/apps/bookcase/entry-templates/Video.xsl
share/apps/bookcase/pics/album.png
share/apps/bookcase/pics/bibtex.png
share/apps/bookcase/pics/book.png
share/apps/bookcase/pics/bookcase.png
+share/apps/bookcase/pics/card.png
+share/apps/bookcase/pics/cassette-logo.png
+share/apps/bookcase/pics/cd-logo.png
+share/apps/bookcase/pics/coin.png
+share/apps/bookcase/pics/comic.png
+share/apps/bookcase/pics/dvd-logo.png
share/apps/bookcase/pics/person-open.png
share/apps/bookcase/pics/person.png
+share/apps/bookcase/pics/record-logo.png
+share/apps/bookcase/pics/stamp.png
+share/apps/bookcase/pics/vhs-logo.png
share/apps/bookcase/pics/video.png
-share/doc/HTML/en/bookcase-apidocs/common
+share/apps/bookcase/pics/wine.png
share/doc/HTML/en/bookcase/common
share/doc/HTML/en/bookcase/index.cache.bz2
share/doc/HTML/en/bookcase/index.docbook
@@ -25,6 +37,7 @@ share/locale/bg/LC_MESSAGES/bookcase.mo
share/locale/de/LC_MESSAGES/bookcase.mo
share/locale/ee/LC_MESSAGES/bookcase.mo
share/locale/es/LC_MESSAGES/bookcase.mo
+share/locale/fi/LC_MESSAGES/bookcase.mo
share/locale/fr/LC_MESSAGES/bookcase.mo
share/locale/hu/LC_MESSAGES/bookcase.mo
share/locale/it/LC_MESSAGES/bookcase.mo
@@ -36,19 +49,45 @@ share/locale/sv/LC_MESSAGES/bookcase.mo
share/mimelnk/application/x-bookcase.desktop
@unexec rmdir %D/share/mimelnk/application 2>/dev/null || true
@unexec rmdir %D/share/mimelnk 2>/dev/null || true
+@unexec rmdir %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/sv 2>/dev/null || true
+@unexec rmdir %D/share/locale/ro/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ro 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl 2>/dev/null || true
+@unexec rmdir %D/share/locale/nb/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/nb 2>/dev/null || true
+@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ja 2>/dev/null || true
+@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/it 2>/dev/null || true
+@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/hu 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale/fi/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fi 2>/dev/null || true
+@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/es 2>/dev/null || true
+@unexec rmdir %D/share/locale/ee/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ee 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/bg/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/bg 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
@unexec rmdir %D/share/icons 2>/dev/null || true
-@unexec rmdir %D/share/doc/HTML/en/bookcase-apidocs/src/html 2>/dev/null || true
-@unexec rmdir %D/share/doc/HTML/en/bookcase-apidocs/src 2>/dev/null || true
-@dirrm share/doc/HTML/en/bookcase-apidocs
@dirrm share/doc/HTML/en/bookcase
@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
@dirrm share/apps/bookcase/pics
+@dirrm share/apps/bookcase/entry-templates
@dirrm share/apps/bookcase
+@unexec rmdir %D/share/apps 2>/dev/null || true
@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true
@unexec rmdir %D/share/applnk 2>/dev/null || true
OpenPOWER on IntegriCloud