openbsd-ports/print/gv/Makefile
david f85600afe0 move any perl or sed substitutions from post-patch to pre-configure
(fixes make update-patches)
ok sturm@; "looks reasonable" steven@
2006-02-08 04:54:48 +00:00

37 lines
786 B
Makefile

# $OpenBSD: Makefile,v 1.26 2006/02/08 04:54:50 david Exp $
COMMENT= "PostScript and PDF previewer"
DISTNAME= gv-3.5.8
PKGNAME= ${DISTNAME}p4
CATEGORIES= print
HOMEPAGE= http://wwwthep.physik.uni-mainz.de/~plass/gv/
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= Xpm Xmu X11 m c Xt SM Xp Xext ICE
LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu
CONFIGURE_STYLE= imake
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 <bsd.port.mk>