Simple fake

This commit is contained in:
espie 2000-06-10 00:57:58 +00:00
parent 8bd0105071
commit c47de5cae5
2 changed files with 19 additions and 17 deletions

View File

@ -1,20 +1,19 @@
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:38:44 espie Exp $
# $OpenBSD: Makefile,v 1.8 2000/06/10 00:57:58 espie Exp $
# $FreeBSD: Makefile,v 1.9 1998/03/07 23:26:23 jmz Exp $
DISTNAME= viewfax-2.3
CATEGORIES= x11
FAKE=No
MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
USE_IMAKE= yes
USE_IMAKE= Yes
MAINTAINER= ports@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/viewfax

View File

@ -1,15 +1,18 @@
--- Imakefile.orig Sat Oct 14 10:52:03 1995
+++ Imakefile Sun Jan 23 02:23:06 2000
@@ -5,9 +5,9 @@
complain about this. Sheesh! :-) */
HELPDIR = ${USRLIBDIR}/X11
#else
--- Imakefile.orig Sat Oct 14 15:52:03 1995
+++ Imakefile Sat Jun 10 02:55:15 2000
@@ -1,14 +1,6 @@
# Imakefile for viewfax
-#ifdef __FreeBSD__
-/* infect all their makefiles with ".include <bsd.foo.mk>" and then
- complain about this. Sheesh! :-) */
-HELPDIR = ${USRLIBDIR}/X11
-#else
-BINDIR = /usr/local/bin /* where you want the binary installed */
-MANDIR = /usr/local/man/man1 /* where you want the man file installed */
-HELPDIR = /usr/local/lib /* where you want the help file installed */
+BINDIR = ${PREFIX}/bin /* where you want the binary installed */
+MANDIR = ${PREFIX}/man/cat1 /* where you want the man file installed */
+HELPDIR = ${PREFIX}/lib/X11/viewfax /* where you want the help file installed */
#endif
-#endif
+HELPDIR=${USRLIBDIR}/X11/viewfax
DEFINES = -DHELPFILE=\"$(HELPDIR)/viewfax.tif\"