summaryrefslogtreecommitdiff
path: root/graphics/vcg/Makefile
blob: 5d0bec45d7d2508ea6e8e71a5e41b74e22b82436 (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
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.13 2006/09/02 20:40:41 rillig Exp $

DISTNAME=	vcg.1.30.r3.17
PKGNAME=	vcg-1.30
PKGREVISION=	1
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

WRKSRC=		${WRKDIR}/vcg.1.30
USE_TOOLS+=	imake
USE_X11BASE=	yes

.include "../../mk/x11.buildlink3.mk"

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
	${MKDIR} ${WRKSRC}/preconf/X11ccDragonFly
	${CP} ${FILESDIR}/conf ${WRKSRC}/preconf/X11ccDragonFly
	${CP} ${FILESDIR}/demo.csh ${WRKSRC}/preconf/X11ccDragonFly
	${CP} ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccDragonFly
	${CP} ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccDragonFly

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"