source: trunk/dports/textproc/dict/Portfile @ 23053

Last change on this file since 23053 was 23053, checked in by pipping@…, 11 years ago

clean up portfiles:

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