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

PORTNAME=   mdocml
PORTVERSION=    1.13.3
CATEGORIES= textproc
MASTER_SITES=   http://mdocml.bsd.lv/snapshots/ \
        LOCAL/uqs

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

LIB_DEPENDS=    libsqlite3.so:${PORTSDIR}/databases/sqlite3

EXAMPLESDIR=    ${PREFIX}/share/examples/mandoc

HAS_CONFIGURE=  yes
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>