openbsd-ports/print/gv/Makefile
espie 4135f66c4d While preparing for ghostscript 7.00, I found a lot of weirdness in that
port.

- why bother creating a man page if we don't install it ?
- our echo does handle \n, so it needs to be protected.
- for that matter, yield a sensible list of directories for OpenBSD.
- INSTALL script that predates dependencies...

And:
- prepare for gs 7.00, detect the version of ghostscript installed,
and tweak resource files to use x11 device with aa options instead
of the older x11alpha. Mark resource files as no checksum accordingly.
2001-04-14 14:43:04 +00:00

29 lines
589 B
Makefile

# $OpenBSD: Makefile,v 1.16 2001/04/14 14:43:04 espie Exp $
COMMENT= "PostScript and PDF previewer"
DISTNAME= gv-3.5.8
CATEGORIES= print
NEED_VERSION= 1.394
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
LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d
RUN_DEPENDS= gs:ghostscript-*:print/ghostscript/gnu
CONFIGURE_STYLE= imake
INSTALL_TARGET=install install.man install.doc
post-install:
${INSTALL_MAN} ${WRKSRC}/source/gv.0 ${PREFIX}/man/cat1
.include <bsd.port.mk>