aboutsummaryrefslogtreecommitdiff
path: root/misc/bookcase
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-17 21:33:26 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-17 21:33:26 +0000
commitafb8c099349b0c5ddb09925b10e05899ab559b50 (patch)
tree41738f86384e635985bfc68d4317118c782b735f /misc/bookcase
parent39b9e96344728b6d59c6d3215eb4c72a8b83eb12 (diff)
downloadports-afb8c099349b0c5ddb09925b10e05899ab559b50.tar.gz
ports-afb8c099349b0c5ddb09925b10e05899ab559b50.zip
Notes
Diffstat (limited to 'misc/bookcase')
-rw-r--r--misc/bookcase/Makefile19
-rw-r--r--misc/bookcase/distinfo3
-rw-r--r--misc/bookcase/files/patch-filehandler.h11
-rw-r--r--misc/bookcase/pkg-plist47
4 files changed, 73 insertions, 7 deletions
diff --git a/misc/bookcase/Makefile b/misc/bookcase/Makefile
index 7abb227a31fb..18d43b419bc1 100644
--- a/misc/bookcase/Makefile
+++ b/misc/bookcase/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/bookcase/distinfo b/misc/bookcase/distinfo
index 20f55025fc42..e902edf67368 100644
--- a/misc/bookcase/distinfo
+++ b/misc/bookcase/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/bookcase/files/patch-filehandler.h b/misc/bookcase/files/patch-filehandler.h
new file mode 100644
index 000000000000..a451e8d19185
--- /dev/null
+++ b/misc/bookcase/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/bookcase/pkg-plist b/misc/bookcase/pkg-plist
index 2e7ebc0a18ad..ee5aed63775e 100644
--- a/misc/bookcase/pkg-plist
+++ b/misc/bookcase/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