mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.6 KiB
Tcl
48 lines
1.6 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name epwutil
|
|
version 1.1
|
|
revision 0
|
|
categories textproc
|
|
maintainers {amake @amake} openmaintainer
|
|
license public-domain
|
|
|
|
description EPWING dictionary utilities
|
|
|
|
long_description A package of utilities for creating and manipulating \
|
|
EPWING-format dictionaries. Includes: bookinfo (for \
|
|
managing Book entries), catdump (for converting Catalogs \
|
|
files), and squeeze (for compressing dictionaries).
|
|
|
|
homepage https://web.archive.org/web/20180222023009/http://openlab.jp/edict/
|
|
master_sites https://web.archive.org/web/20170627202023/http://openlab.jp/edict/epwutil/
|
|
|
|
checksums rmd160 7f00f92fc116c17b2364cac7a1ba9b6d10a92682 \
|
|
sha256 a45c4998a7b4fc0c3c9ad5eeadc24faa3517432bec46d9980b0fe691504ae9fb \
|
|
size 39611
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
patchfiles getline.patch \
|
|
implicit.patch
|
|
|
|
build.args CC="${configure.cc} [get_canonical_archflags cc]"
|
|
build.cmd make -f makefile.unx
|
|
|
|
pre-build {
|
|
foreach fileName [glob ${build.dir}/*.c] {
|
|
system "iconv -f euc-jp -t utf-8 [shellescape ${fileName}] > [shellescape ${fileName}-fixed]"
|
|
file rename -force $fileName-fixed $fileName
|
|
}
|
|
}
|
|
|
|
destroot {
|
|
xinstall -W ${worksrcpath} bookinfo catdump squeeze ${destroot}${prefix}/bin/
|
|
}
|
|
|
|
livecheck.type none
|