openbsd-ports/comms/hylafax/Makefile
todd f55cd5a402 update HylaFAX to 4.1.5, remove BROKEN=
based on 4.1.3 update from Steve Shockley <steve.shockley@shockley.net>
prompted by Bert Koelewijn <bert@schmidt-koelewijn.nl>

ok espie@ "no actual risk you'll break it more"
2003-01-27 13:42:48 +00:00

55 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.37 2003/01/27 13:42:48 todd Exp $
COMMENT= "send/receive faxes and share modems"
DISTNAME= hylafax-4.1.5
CATEGORIES= comms
FLAVORS= a4
FLAVOR?=
HOMEPAGE= http://www.HylaFAX.org/
MASTER_SITES= ftp://ftp.hylafax.org/source/
# License: BSD
# http://www.hylafax.org/HylaFAQ/copyright.html
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu
LIB_DEPENDS= tiff::graphics/tiff \
jpeg::graphics/jpeg
CONFIGURE_STYLE= simple
USE_GMAKE= Yes
CONFIGURE_ARGS = --nointeractive
CONFIGURE_ARGS+= --with-CC="${CC}"
CONFIGURE_ARGS+= --with-CXX="${CXX}"
CONFIGURE_ARGS+= --with-INSTALL=""
CONFIGURE_ENV+= PREFIX="${PREFIX}"
.if ${FLAVOR:L} == "a4"
CONFIGURE_ARGS+= --with-PAGESIZE=A4
.endif
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
post-install:
@: ${SUDO} chown uucp.dialer ${SUID_EXES}
@: ${SUDO} chmod a=rx,u+s ${SUID_EXES}
${SUDO} ${INSTALL_DATA} ${FILESDIR}/hylafax.sh.sample ${PREFIX}/lib/fax
pre-package:
${SUDO} rm -f ${WRKINST}/${PREFIX}/hylafax
${SUDO} ln -s ${WRKINST}/var/spool/hylafax ${WRKINST}/${PREFIX}/hylafax
post-package:
${SUDO} rm -f ${WRKINST}/${PREFIX}/hylafax
FAKE_FLAGS=ROOT=${WRKINST} ${DESTDIRNAME}=${WRKINST}
.include <bsd.port.mk>