On Sun, Nov 07, 2010 at 12:26:56AM +0100, Jiri B. wrote:
>>- Don't install detoxrc into ${PREFIX}/etc; the install targets in the
>> distfile are fucked up (the executables aren't stripped by default).
>> So just use our own do-install target. Install detoxrc into
>> ${PREFIX}/share/examples/detox and install that during pkg_add
>> into /etc/detox via the plist.
>
>Yeah, I found missing detoxrc later. Without config file it's not
>very usable :)
It should be /etc/detoxrc not /etc/detox/detoxrc, otherwise it would
not find it and detox -L doesn't work.
$detox -L
available sequences:
default (*)
iso8859_1
utf_8
uncgi
lower
iso8859_1-only
utf_8-only
uncgi-only
lower-only
files to ignore:
.arch-params
.evolution
.gnome
.mozilla
.themes
{arch}
And now the patch to last port...
diff -ruNp detox.orig/Makefile detox/Makefile
--- detox.orig/Makefile Wed Nov 17 00:13:58 2010
+++ detox/Makefile Wed Nov 17 00:15:36 2010
@@ -6,6 +6,8 @@ DISTNAME = detox-1.2.0
CATEGORIES = sysutils
+REVISION = 1
+
HOMEPAGE = http://detox.sourceforge.net/
#BSD
diff -ruNp detox.orig/pkg/PLIST detox/pkg/PLIST
--- detox.orig/pkg/PLIST Wed Nov 17 00:14:11 2010
+++ detox/pkg/PLIST Wed Nov 17 00:21:24 2010
@@ -8,6 +8,5 @@ share/detox/
share/detox/iso8859_1.tbl
share/detox/unicode.tbl
share/examples/detox/
-...@sample ${SYSCONFDIR}/detox/
share/examples/detox/detoxrc
-...@sample ${SYSCONFDIR}/detox/detoxrc
+...@sample ${SYSCONFDIR}/detoxrc
jirib