aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mdocml/Makefile
blob: 063d5a51590128ead7d91b1f0ea72ee51ae424e5 (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
# Created by: Ulrich Spoerlein <uspoerlein@gmail.com>
# $FreeBSD$

PORTNAME=   mdocml
PORTVERSION=    1.12.1
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
NO_STAGE=   yes
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>