freebsd-ports/textproc/heirloom-doctools/Makefile
Hiroki Sato a8f3c5bbab - Add LICENSE.
- Mark CONFLICTS with libotf.

PR:	194984
2014-11-22 08:05:32 +00:00

52 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= heirloom-doctools
PORTVERSION= 0.0.080407
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/heirloom/${PORTNAME}/080407
DISTNAME= ${PORTNAME}-${PORTVERSION:S,0.0.,,}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Portable and enhanced troff, nroff, and related utilities
LICENSE= CDDL
CONFLICTS= libotf-[0-9]*
USES= gmake tar:bzip2
ALL_TARGET= #empty
MAKE_ENV+= INSTALL=${INSTALL} \
BINDIR=${BINDIR} \
LIBDIR=${LIBDIR} \
PUBDIR=${PUBDIR} \
MANDIR=${MANDIR} \
MACDIR=${MACDIR} \
FNTDIR=${FNTDIR} \
PSTDIR=${PSTDIR} \
TABDIR=${TABDIR} \
HYPDIR=${HYPDIR} \
REFDIR=${REFDIR} \
ROOT=${STAGEDIR}
MAKEFILE= makefile
PLIST_SUB= LIBEXECDIR=libexec/${PORTNAME}
MACDIR?= ${DATADIR}/tmac
FNTDIR?= ${DATADIR}/font
TABDIR?= ${DATADIR}/nterm
HYPDIR?= ${DATADIR}/hyphen
REFDIR?= ${PREFIX}/libexec/${PORTNAME}/reftools
PUBDIR?= ${DATADIR}/pub
BINDIR?= ${PREFIX}/bin
LIBDIR?= ${PREFIX}/libexec/${PORTNAME}
PSTDIR?= ${DATADIR}/font/devpost/postscript
MANDIR?= ${PREFIX}/man
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} CHANGES README ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} LICENSE ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>