1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

. Remove dependencies on bash, HylaFAX builds and (reportedly) runs

fine with /bin/sh.
. Add a knob (PAGESIZE to correspond to the HylaFAX configure variable)
  so one can choose a paper size other than US Letter.
. Use noninteractive configure when building in BATCH mode.

The PR also suggests adding an option to install hfaxd setuid so it
can be run from inetd.  This seems bogus though as inetd.conf allows
one to specify the user to start the process as.

PR:		31684
This commit is contained in:
Greg Lewis 2002-08-12 23:16:00 +00:00
parent f36b733252
commit 5305a255f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64457

View File

@ -12,11 +12,9 @@ MASTER_SITES= ftp://ftp.hylafax.org/source/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
# no dependency on ghostscript because we don't know which
# version the user prefers
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
@ -28,7 +26,11 @@ CONFIGURE_ARGS= --with-INSTALL="" \
--with-TIFFINC="${LOCALBASE}/include" \
--with-GCOPTS=" " --with-GCXXOPTS=" " \
--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none
.ifdef PACKAGE_BUILDING
# Defaults to "North American Letter". Use "ISO A4" for A4.
.ifdef PAGESIZE
CONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}"
.endif
.if defined(PACKAGE_BUILDING) || defined(BATCH)
CONFIGURE_ARGS+=--nointeractive
.endif
MAKE_ARGS+= OPTIMIZER="" -EOPTIMIZER