aboutsummaryrefslogtreecommitdiffstats
path: root/www/chimera
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-05-07 19:33:39 +0800
committeroliver <oliver@FreeBSD.org>2005-05-07 19:33:39 +0800
commit253fe6effbafb3919b9c952cc73f64fed8370889 (patch)
tree8e4910bd02caf8589d9f3f625599fd8686e4ef84 /www/chimera
parentfa9362f20afa8cda8d60fdfe58d1ef9953cc8f23 (diff)
downloadfreebsd-ports-gnome-253fe6effbafb3919b9c952cc73f64fed8370889.tar.gz
freebsd-ports-gnome-253fe6effbafb3919b9c952cc73f64fed8370889.tar.zst
freebsd-ports-gnome-253fe6effbafb3919b9c952cc73f64fed8370889.zip
utilize misc/mime-support
Diffstat (limited to 'www/chimera')
-rw-r--r--www/chimera/Makefile2
-rw-r--r--www/chimera/files/patch-Common.tmpl.dist20
-rw-r--r--www/chimera/files/patch-lib::Imakefile10
-rw-r--r--www/chimera/pkg-plist1
4 files changed, 29 insertions, 4 deletions
diff --git a/www/chimera/Makefile b/www/chimera/Makefile
index 4ab164c1d3ec..351464634384 100644
--- a/www/chimera/Makefile
+++ b/www/chimera/Makefile
@@ -14,6 +14,8 @@ MASTER_SITES= http://www.rocklinux.net/people/ripclaw/projects/software/chimera/
MAINTAINER= ports@FreeBSD.org
COMMENT= X/Athena World-Wide Web client
+RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+
NO_LATEST_LINK= yes
USE_IMAKE= yes
diff --git a/www/chimera/files/patch-Common.tmpl.dist b/www/chimera/files/patch-Common.tmpl.dist
index d465aa0bbb37..d0b69baf153a 100644
--- a/www/chimera/files/patch-Common.tmpl.dist
+++ b/www/chimera/files/patch-Common.tmpl.dist
@@ -1,6 +1,20 @@
---- ./Common.tmpl.dist.org Sat Apr 1 19:20:24 1995
-+++ ./Common.tmpl.dist Tue Apr 4 07:51:01 1995
-@@ -80,7 +80,7 @@
+--- Common.tmpl.dist.orig Sun Apr 2 05:20:24 1995
++++ Common.tmpl.dist Sat May 7 13:15:10 2005
+@@ -28,11 +28,12 @@
+ CUTILDIR = $(BINDIR)
+ CLIBDIR = $(LIBDIR)/chimera
+ CMANDIR = $(MANDIR)
++CETCDIR = $(LOCALBASE)/etc
+
+ CDEFINES = \
+ -DCUTILDIR=\"$(CUTILDIR)\" \
+ -DCONVERT_FILES=\"~/.chimera_convert:$(CLIBDIR)/convert\" \
+--DMIME_TYPE_FILES=\"~/.chimera_mime.types:$(CLIBDIR)/mime.types\" \
++-DMIME_TYPE_FILES=\"~/.chimera_mime.types:$(CETCDIR)/mime.types\" \
+ -DMAIL_CAPS=\"~/.mailcap:$(CLIBDIR)/mailcap\" \
+ -DPROTOCOL_FILES=\"~/.chimera_protocol:$(CLIBDIR)/protocol\" \
+ -DCACHE_INFO_FILES=\"~/.chimera_cacheinfo:$(CLIBDIR)/cacheinfo\" \
+@@ -80,7 +81,7 @@
#define NEED_STRCASECMP 0
CEXTRA_DEFINES = -DHAVE_MKTIME -DHAVE_STDLIB_H -DHAVE_STRING_H \
diff --git a/www/chimera/files/patch-lib::Imakefile b/www/chimera/files/patch-lib::Imakefile
new file mode 100644
index 000000000000..428053be6365
--- /dev/null
+++ b/www/chimera/files/patch-lib::Imakefile
@@ -0,0 +1,10 @@
+--- lib/Imakefile.orig Sat May 7 13:14:22 2005
++++ lib/Imakefile Sat May 7 13:14:26 2005
+@@ -7,7 +7,6 @@
+ InstallNonExec(convert,$(CLIBDIR))
+ InstallNonExec(home.html,$(CLIBDIR))
+ InstallNonExec(help.html,$(CLIBDIR))
+-InstallNonExec(mime.types,$(CLIBDIR))
+ InstallNonExec(mailcap,$(CLIBDIR))
+ InstallNonExec(protocol,$(CLIBDIR))
+ InstallNonExec(cacheinfo,$(CLIBDIR))
diff --git a/www/chimera/pkg-plist b/www/chimera/pkg-plist
index a49d23ff402d..a5f6230dcb00 100644
--- a/www/chimera/pkg-plist
+++ b/www/chimera/pkg-plist
@@ -4,7 +4,6 @@ lib/convert
lib/help.html
lib/home.html
lib/mailcap
-lib/mime.types
lib/protocol
lib/chimera/Chimera
lib/chimera/do3270