summaryrefslogtreecommitdiff
path: root/graphics/vcg/Makefile
blob: 758874e118fde94e7f6ee97895aae82c00996509 (plain)
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
# $NetBSD: Makefile,v 1.5 2003/03/29 12:41:21 jmmv Exp $
# FreeBSD Id: Makefile,v 1.7 1998/08/05 09:31:14 asami Exp $

DISTNAME=	vcg.1.30.r3.17
PKGNAME=	vcg-1.30
WRKSRC=		${WRKDIR}/vcg.1.30
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
EXTRACT_SUFX=	.tgz

MAINTAINER=	sakamoto@netbsd.org
COMMENT=	Visualization Tool for compiler graphs

USE_X11BASE=	yes

pre-patch:
	@${MKDIR} ${WRKSRC}/preconf/X11ccNetBSD
	@${CP} ${FILESDIR}/conf ${WRKSRC}/preconf/X11ccNetBSD
	@${CP} ${FILESDIR}/demo.csh ${WRKSRC}/preconf/X11ccNetBSD
	@${CP} ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccNetBSD
	@${CP} ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccNetBSD

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vcg
	${INSTALL_DATA} ${WRKSRC}/doc/visual.ps  ${PREFIX}/share/doc/vcg
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vcg
	${INSTALL_DATA} ${WRKSRC}/expl/*.vcg ${PREFIX}/share/examples/vcg

.include "../../mk/bsd.pkg.mk"