summaryrefslogtreecommitdiff
path: root/graphics/graphviz/Makefile
blob: 061a51a56f11bc299d0562a7a3d5fe6122de41db (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
# New ports collection makefile for:    graphviz
# Version required:     1.5
# Date created:         03 Feb 1998
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=       gviz15
PKGNAME=	graphviz-1.5
CATEGORIES=	graphics tk82
MASTER_SITES=	http://www.research.att.com/sw/tools/graphviz/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82

FETCH_ARGS=	-b
WRKSRC=		${WRKDIR}/gv1.5
MAKEFILE=	makefile
MAN1=		dot.1 dotty.1 lefty.1 neato.1
MANN=		tcldot.n

DOCDIR=		${PREFIX}/share/doc/graphviz

post-extract:
	@find ${WRKSRC} -name *.o -delete

post-install:
	@${MKDIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/*.htm* ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
	@${GZIP_CMD} ${DOCDIR}/*.ps

.include <bsd.port.mk>