summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-07-04 12:08:55 +0000
committerarved <arved@FreeBSD.org>2005-07-04 12:08:55 +0000
commitfe7b8c5fe402ec579973dec8cf0d1caef186da2a (patch)
treedcb2a98222a5e5397e0cac81445f9e52421fe65d /deskutils
parentcac793382eb7f25249c079c775906c30ae5ac147 (diff)
downloadFreeBSD-ports-fe7b8c5fe402ec579973dec8cf0d1caef186da2a.zip
FreeBSD-ports-fe7b8c5fe402ec579973dec8cf0d1caef186da2a.tar.gz
Don't overwrite header file of chmlib
Submitted by: maintainer Reported by: pointyhat
Diffstat (limited to 'deskutils')
-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 77a6ebf..a7eddae 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 0000000..f170c2b
--- /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 e326a3b..d54928c 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
OpenPOWER on IntegriCloud