aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mdocml/Makefile
blob: 795fe09274bc51e81fcdc73ad580d1a6c214cb08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    textproc/mdocml
# Date created:             09.03.2009
# Whom:                 Ulrich Spoerlein <uspoerlein@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mdocml
PORTVERSION=    1.11.7
CATEGORIES= textproc
MASTER_SITES=   http://mdocml.bsd.lv/snapshots/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= uqs

MAINTAINER= uqs@FreeBSD.org
COMMENT=    mdoc macro compiler

MAN1=   mandoc.1 demandoc.1
MAN3=   mandoc.3
MAN7=   eqn.7 man.7 mandoc_char.7 mdoc.7 roff.7 tbl.7

EXAMPLESDIR_REL=share/examples/mandoc

# Skip installing preconv(1) to avoid conflicting with textproc/groff
post-patch:
    @${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
        -e '/INSTALL_LIB/d' -e '/LIBDIR/d' -e '/INCLUDEDIR/d' \
        -e '/INSTALL_/s/preconv\(\.1\)*//' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>