mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
30 lines
708 B
Makefile
30 lines
708 B
Makefile
# Created by: Ulrich Spoerlein <uspoerlein@gmail.com>
|
|
|
|
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>
|