openbsd-ports/comms/efax/Makefile
jasper 78340e8b65 - fix build on mips64, no package bump needed, as mips64 didn't build before
and other arches are unaffected.

maintainer (ian@) timed-out for four months
2008-06-08 21:41:13 +00:00

35 lines
777 B
Makefile

# $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 <ian@openbsd.org>
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 <bsd.port.mk>