# $OpenBSD: Makefile,v 1.31 2009/08/10 06:34:08 kili Exp $ COMMENT= PostScript and PDF previewer DISTNAME= gv-3.5.8 PKGNAME= ${DISTNAME}p6 CATEGORIES= print HOMEPAGE= http://wwwthep.physik.uni-mainz.de/~plass/gv/ MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/ # GPLv2+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += ICE SM X11 Xau Xdmcp Xext Xmu Xp Xpm Xt c m pthread-stubs xcb LIB_DEPENDS= Xaw3d.>=6.1::x11/Xaw3d RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu CONFIGURE_STYLE=imake USE_X11= Yes NO_REGRESS= Yes INSTALL_TARGET= install install.man install.doc pre-configure: perl -pi.bak ${.CURDIR}/fixincludes ${WRKSRC}/source/*.[ch] post-install: ${INSTALL_MAN} ${WRKSRC}/source/gv.0 ${PREFIX}/man/cat1 .include