blob: d83e745a17ce17c86bb4b9faa90d9824c79b73ac (
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
|
PORTNAME= mdocml
PORTVERSION= 1.14.5
CATEGORIES= textproc
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
LOCAL/uqs
DISTNAME= mandoc-${DISTVERSION}
MAINTAINER= uqs@FreeBSD.org
COMMENT= mdoc macro compiler
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
EXAMPLESDIR= ${PREFIX}/share/examples/mandoc
HAS_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include -fcommon # clang11/gcc10
LDFLAGS+= -L${LOCALBASE}/lib
post-configure:
@${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \
-e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \
${WRKSRC}/Makefile.local
.include <bsd.port.mk>
|