summaryrefslogtreecommitdiff
path: root/deskutils/kchm
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-07-04 12:08:55 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-07-04 12:08:55 +0000
commitd923f258f56e4f358d1723470cc760e3b346434a (patch)
treed024295a4cf08e68c48f5c6bff002cd105c3b5ba /deskutils/kchm
parentUpdate to safecat 1.12. (diff)
Don't overwrite header file of chmlib
Submitted by: maintainer Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=138458
Diffstat (limited to 'deskutils/kchm')
-rw-r--r--deskutils/kchm/Makefile5
-rw-r--r--deskutils/kchm/files/patch-libchm++-Makefile.in13
-rw-r--r--deskutils/kchm/pkg-plist2
3 files changed, 17 insertions, 3 deletions
diff --git a/deskutils/kchm/Makefile b/deskutils/kchm/Makefile
index 77a6ebf0315c..a7eddaee1ea4 100644
--- a/deskutils/kchm/Makefile
+++ b/deskutils/kchm/Makefile
@@ -7,9 +7,10 @@
PORTNAME= kchm
PORTVERSION= 0.6.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils kde
-MASTER_SITES= http://mesh.dl.sourceforge.net/sourceforge/kchmnew/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=kchmnew
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= shirshegsm@gmail.com
diff --git a/deskutils/kchm/files/patch-libchm++-Makefile.in b/deskutils/kchm/files/patch-libchm++-Makefile.in
new file mode 100644
index 000000000000..f170c2bdd23e
--- /dev/null
+++ b/deskutils/kchm/files/patch-libchm++-Makefile.in
@@ -0,0 +1,13 @@
+--- libchm++/Makefile.in.bak Thu Mar 17 19:42:53 2005
++++ libchm++/Makefile.in Mon Jul 4 11:55:14 2005
+@@ -344,8 +344,8 @@
+ AM_CFLAGS = -DCHM_MT -DDMALLOC_DISABLE
+ lib_LTLIBRARIES = libchmmix.la
+ libchmmix_la_LDFLAGS =
+-libchmmix_la_SOURCES = chm_lib.c chm_lib.h lzx.c lzx.h chm.cpp chmxx.h tagreader.cpp tagreader.h
+-include_HEADERS = chmxx.h chm_lib.h lzx.h
++libchmmix_la_SOURCES = chm_lib.c lzx.c lzx.h chm.cpp chmxx.h tagreader.cpp tagreader.h
++include_HEADERS = chmxx.h lzx.h
+ AM_CXXFLAGS = -D_REENTRANT
+ EXTRA_DIST = *.h
+ #>- all: all-am
diff --git a/deskutils/kchm/pkg-plist b/deskutils/kchm/pkg-plist
index e326a3bb3ca6..d54928c5f307 100644
--- a/deskutils/kchm/pkg-plist
+++ b/deskutils/kchm/pkg-plist
@@ -7,7 +7,6 @@ lib/kde3/libchmnewpart.so
lib/kde3/kio_chmnew.la
lib/kde3/kio_chmnew.so
include/chmxx.h
-include/chm_lib.h
include/lzx.h
share/mimelnk/application/chmmime.desktop
share/services/chmnew.protocol
@@ -23,3 +22,4 @@ share/apps/chmnew/chmnew_shell.rc
share/servicetypes/kchm.desktop
@dirrm share/apps/chmnewpart
@dirrm share/apps/chmnew
+@dirrm share/apps/kchm