38 lines
812 B
Makefile
38 lines
812 B
Makefile
# $OpenBSD: Makefile,v 1.30 2009/03/12 18:13:54 sthen Exp $
|
|
|
|
COMMENT= PostScript and PDF previewer
|
|
|
|
DISTNAME= gv-3.5.8
|
|
PKGNAME= ${DISTNAME}p5
|
|
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
|
|
|
|
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 <bsd.port.mk>
|