aboutsummaryrefslogtreecommitdiff
path: root/textproc/heirloom-doctools/Makefile
blob: c706974bd0092e27b6b041756ef73a0c29568808 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Ports collection makefile for:  heirloom-doctools
# Date created:			  Saturday, 3 December 2005
# Whom:				  Hiroki Sato <hrs@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	heirloom-doctools
PORTVERSION=	0.0.080407
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

USE_BZIP2=	yes
USE_GMAKE=	yes
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}
MAKEFILE=	makefile
PLIST_SUB=	PORTNAME=${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

MAN1+=	addbib.1 checknr.1 dpost.1 eqn.1 grap.1 lookbib.1 nroff.1	\
	otfdump.1 pic.1 picpack.1 ptx.1 refer.1 roffbib.1 soelim.1	\
	sortbib.1 tbl.1 troff.1 vgrind.1
MAN7+= 	eqnchar.7 mcolor.7 mpictures.7
MLINKS+=	lookbib.1 indxbib.1 \
		eqn.1 checkeq.1 \
		eqn.1 neqn.1

PORTDOCS=	CHANGES README LICENSE

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${CP} -R ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>