summaryrefslogtreecommitdiff
path: root/print/gv/Makefile
blob: f14524bb09b5ae5f7f0e2fb198bc4e5e1d329976 (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
# $NetBSD: Makefile,v 1.35 2003/03/03 02:51:03 jschauma Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#

DISTNAME=	gv-3.5.8
PKGREVISION=	3
CATEGORIES=	print
MASTER_SITES=	ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://wwwthep.physik.uni-mainz.de/~plass/gv/
COMMENT=	PostScript and PDF previewer

USE_BUILDLINK2=		# defined
USE_IMAKE=		# defined
XAW_TYPE?=		3d

.include "../../mk/bsd.prefs.mk"

# We need Xaw3d to build.
.if ${XAW_TYPE} == "standard"
XAW_TYPE:=	3d
.endif

post-extract:
	${MV} ${WRKSRC}/doc/gv.man ${WRKSRC}/source/

post-install:
	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.doc

.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"