Ticket #47308: Portfile

File Portfile, 865 bytes (added by grimreaper (Eitan Adler), 9 years ago)

Portfile (updated with style fixes)

Line 
1# $Id: Portfile 111119 2013-09-15 22:21:07Z cal@macports.org $
2
3PortSystem 1.0
4
5name            mandoc
6version         1.13.3
7categories      textproc
8license         ISC
9maintainers     eitanadler.com:lists openmaintainer
10description     The mandoc UNIX manpage compiler toolset
11homepage        http://mdocml.bsd.lv/
12platforms       darwin freebsd
13
14long_description mandoc is a suite of tools compiling mdoc, the roff macro language of choice for\
15    BSD manual pages, and man, the predominant historical language for UNIX manuals.
16
17master_sites    http://mdocml.bsd.lv/snapshots/
18
19distname    mdocml-${version}
20checksums       rmd160  47d1096708b45b15d8f198404fd6608d164bb66a \
21            sha256  23ccab4800d50bf4c327979af5d4aa1a6a2dc490789cb67c4c3ac1bd40b8cad8
22
23depends_lib port:sqlite3
24
25post-patch {
26    reinplace   "s,/usr/local,$prefix,g" configure
27    reinplace   "s,^MANDIR=,MANDIR=$prefix/share/man," configure
28}