source: trunk/dports/textproc/dict/Portfile

Last change on this file was 146275, checked in by jmpp@…, 21 months ago

Switching the libtool dependency from build to lib, since the port links against libltdl.7 and therefore depends on it at runtime.
If the dependency is listed as build, "port instaled leaves" may report libtool as no longer being required, thus breaking the dict
port if uninstalled.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 146275 2016-03-03 06:16:58Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    dict
5version                 1.9.7
6revision                1
7categories              textproc spelling
8maintainers             nomaintainer
9license                 GPL
10description             Dictionary Server Protocol (RFC2229) client
11long_description        The Dictionary Server Protocol (DICT) is a TCP \
12                        transaction based query/response protocol that \
13                        allows a client to access dictionary definitions \
14                        from a set of natural language dictionary databases. \
15                        dict(1) is a client which can access DICT servers \
16                        from the command line.
17homepage                http://www.dict.org/
18platforms               darwin freebsd
19
20master_sites            ftp://ftp.dict.org/pub/dict/
21distname                ${name}d-${version}
22checksums               md5 baa8f18dd0373e7053658be99d40d5db
23depends_lib             lib:ltdl.3:libtool
24
25patchfiles              patch-configure
26
27configure.args          --without-local-zlib --with-etcdir=${prefix}/etc --mandir=${prefix}/share/man
28build.type              gnu
29build.target            dict
30destroot.target         install.dict
31
32platform darwin {
33        patchfiles-append       patch-libmaa-config.guess patch-libmaa-config.sub patch-libmaa_parse.c patch-regex-ranlib
34}
35
36platform freebsd {
37        patchfiles-append       freebsd-T_USER.diff
38}
39
40post-patch {
41        reinplace s|/etc/|${prefix}/etc/|g "${workpath}/${distname}/dict.1"
42}
Note: See TracBrowser for help on using the repository browser.