openbsd-ports/comms/efax/Makefile
2010-02-09 12:23:59 +00:00

35 lines
774 B
Makefile

# $OpenBSD: Makefile,v 1.23 2010/02/09 12:23:59 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:Mmips64*}
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>