52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2018/04/25 14:03:47 naddy Exp $
COMMENT = modernized troff implementation
V = 160308
DISTNAME = heirloom-doctools-$V
REVISION = 2
CATEGORIES = textproc print
HOMEPAGE = https://n-t-roff.github.io/heirloom/doctools.html
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# see LICENSE and LICENSE.d/
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m ${COMPILER_LIBCXX}
MASTER_SITES = https://github.com/n-t-roff/heirloom-doctools/releases/download/$V/
EXTRACT_SUFX = .tar.bz2
MAKE_FLAGS = CC="${CC}" \
CXX="${CXX}" \
CCC="${CXX}" \
CFLAGS="${CFLAGS}" \
RANLIB=ranlib \
INSTALL=install \
STRIP=true \
ROOT=${DESTDIR} \
BINDIR=${PREFIX}/heirloom-doctools/bin \
MANDIR=${PREFIX}/heirloom-doctools/man \
LIBDIR=${PREFIX}/libexec/heirloom-doctools \
MACDIR=${PREFIX}/share/heirloom-doctools/tmac \
FNTDIR=${PREFIX}/share/heirloom-doctools/font \
TABDIR=${PREFIX}/share/heirloom-doctools/nterm \
HYPDIR=${PREFIX}/share/heirloom-doctools/hyphen \
PUBDIR=${PREFIX}/share/heirloom-doctools/pub \
PSTDIR=${PREFIX}/share/heirloom-doctools/font/devpost/postscript \
REFDIR=${PREFIX}/libexec/heirloom-doctools/reftools \
EUC=-DEUC
USE_GMAKE = Yes
NO_TEST = Yes
MAKE_FILE = makefile
ALL_TARGET =
.include <bsd.port.mk>