# $OpenBSD: Makefile,v 1.22 2008/06/08 21:41:13 jasper Exp $ COMMENT= small & simple FAX send/receive program DISTNAME= efax-0.9 PKGNAME= ${DISTNAME}p1 CATEGORIES= comms MAINTAINER= Ian Darwin PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/serialcomm/fax/} # gcc 3.3.5 internal compiler error .if ${MACHINE_ARCH} == "mips64" EXTRA_CFLAGS= -O0 .endif MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" EXTRA_CFLAGS="${EXTRA_CFLAGS}" NO_REGRESS= Yes do-install: cd ${WRKBUILD}; \ ${INSTALL_PROGRAM} efax efix ${PREFIX}/bin; \ ${INSTALL_SCRIPT} fax ${PREFIX}/bin; \ ${INSTALL_MAN} fax.1 efax.1 efix.1 ${PREFIX}/man/man1 .include