pkgsrc/comms/hylafax/Makefile
adam 65dc98044e Changes 6.0.6:
These releases are maintenance releases, and do not contain any new
features or functionality, but only contain bugfixes:
 * Re-order library files in fchmod() configure check
 * faxalter: Wire up the nissing page range -Z options
 * man: JobReqError/JobRetryError were missing in hylafax-config.4
 * typerules: adding missing comma to typeNames array
 * Do not warn about one of the Fontpath directories not existing
 * Reworked how faxsetup looks for Fontmap
 * Use a private Fontmap.HylaFAX file of .pfb files
 * Combine all Fontmap files in memory, including new Fontmap.HylaFAX
 * Bug 934: We need to avoid a 0-index in playList
 * hfaxd: Eliminte extraneous debug logging
 * hfaxd: Make source port for active connections be ctrl port - 1
 * hfaxd: Release old accept fd
 * Support libtiff 4.0
 * faxsend: JobRetryOther/JobRequeueOther weren't actually being used
 * Make sure not to cut faxq FIFO messages in two when reaching end of buffer
 * hfaxd: Port is network byte order, correct logging of it
2014-03-14 15:59:29 +00:00

60 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2014/03/14 15:59:29 adam Exp $
DISTNAME= hylafax-6.0.6
CATEGORIES= comms
MASTER_SITES= ftp://ftp.hylafax.org/source/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hylafax.org/
COMMENT= Telecommunication and fax server system
LICENSE= sgi-free-software-b-v2.0
CONFLICTS= hylafax-devel-[0-9]* mgetty-[0-9]*
DEPENDS+= mawk>=1.2.2:../../lang/mawk
BUILD_DEFS+= FAXUSER FAXGROUP VARBASE
USE_LANGUAGES= c c++
USE_TOOLS+= gs:run pkg-config
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --with-MAKE=${MAKE_PROGRAM:Q}
CONFIGURE_ARGS+= --with-INSTALL="" --nointeractive
CONFIGURE_ARGS+= --with-ZLIBINC=-I${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-LIBZ="-L${BUILDLINK_PREFIX.zlib}/lib -lz"
CONFIGURE_ARGS+= --with-SYSVINIT=no
CONFIGURE_ENV+= FAXUID=${FAXUSER:Q}
CONFIGURE_ENV+= FAXGID=${FAXGROUP:Q}
CONFIGURE_ENV+= OPTIMIZER=${CFLAGS:Q}
CONFIGURE_ENV+= VARBASE=${VARBASE}
CHECK_PORTABILITY_SKIP= rpm/jobcontrol.sh
MANCOMPRESSED= yes
FAXUSER?= uucp
FAXGROUP?= dialer
RCD_SCRIPTS= hylafax
EGDIR= share/examples/hylafax
INSTALLATION_DIRS= libdata/hylafax ${EGDIR} ${EGDIR}/templates
SPECIAL_PERMS+= bin/faxalter ${SETUID_ROOT_PERMS} \
bin/faxrm ${SETUID_ROOT_PERMS} \
libexec/faxgetty ${SETUID_ROOT_PERMS} \
sbin/faxq ${SETUID_ROOT_PERMS}
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
CONFIGURE_ENV+= MACHDEPLIBS=-lrt
.endif
# Affected by TIFFHeader -> TIFFHeaderClassic change in 4.x.
BUILDLINK_API_DEPENDS.libtiff+= tiff>=4.0.0
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jbigkit/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"