2012-07-19 11:05:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.66 2012/07/19 15:05:30 giovanni Exp $
|
2001-05-05 18:39:36 -04:00
|
|
|
|
2007-09-15 21:37:09 -04:00
|
|
|
COMMENT= send/receive faxes and share modems
|
2012-07-19 11:05:30 -04:00
|
|
|
DISTNAME= hylafax-6.0.6
|
2001-11-18 12:06:51 -05:00
|
|
|
CATEGORIES= comms
|
2001-11-18 12:18:52 -05:00
|
|
|
|
2001-11-18 12:06:51 -05:00
|
|
|
HOMEPAGE= http://www.HylaFAX.org/
|
1999-10-28 03:43:36 -04:00
|
|
|
|
2010-07-08 12:21:17 -04:00
|
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
2008-02-08 18:10:45 -05:00
|
|
|
|
2011-05-24 12:24:35 -04:00
|
|
|
MASTER_SITES= ftp://ftp.hylafax.org/source/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/net/hylafax/source/ \
|
|
|
|
ftp://mirror.aarnet.edu.au/pub/hylafax/source/
|
1998-02-08 01:00:08 -05:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: BSD
|
2003-01-27 08:42:48 -05:00
|
|
|
# http://www.hylafax.org/HylaFAQ/copyright.html
|
2000-10-22 11:41:23 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-02-08 18:10:45 -05:00
|
|
|
|
|
|
|
FLAVORS= a4
|
|
|
|
FLAVOR?=
|
|
|
|
|
2010-09-03 10:39:07 -04:00
|
|
|
WANTLIB= c jbig m stdc++ tiff util z
|
2011-05-24 12:24:35 -04:00
|
|
|
MODULES= devel/gettext
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
BUILD_DEPENDS= print/ghostscript/gnu
|
|
|
|
RUN_DEPENDS= mail/metamail
|
|
|
|
LIB_DEPENDS= graphics/jbigkit \
|
|
|
|
graphics/tiff
|
2001-11-18 12:06:51 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
USE_GMAKE= Yes
|
2010-11-14 19:22:45 -05:00
|
|
|
USE_GROFF = Yes
|
2001-11-18 12:06:51 -05:00
|
|
|
|
2008-02-08 18:10:45 -05:00
|
|
|
CONFIGURE_ARGS= --nointeractive \
|
|
|
|
--disable-pam \
|
2011-05-24 12:24:35 -04:00
|
|
|
--disable-nls \
|
2008-02-08 18:10:45 -05:00
|
|
|
--with-CC="${CC}" \
|
|
|
|
--with-CXX="${CXX}" \
|
2011-05-24 12:24:35 -04:00
|
|
|
--with-INSTALL="" \
|
|
|
|
--with-OPTIMIZER=""
|
2003-01-27 08:42:48 -05:00
|
|
|
|
2003-01-31 10:53:50 -05:00
|
|
|
CONFIGURE_ENV+= CCOMPILER="${CC}" CXXCOMPILER="${CXX}" \
|
|
|
|
GCOPTS="${CFLAGS}" GCXXOPTS="${CXXFLAGS}" \
|
2008-02-08 18:10:45 -05:00
|
|
|
PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" \
|
2012-07-19 11:05:30 -04:00
|
|
|
DIR_LIBDATA=${TRUEPREFIX}/libdata/hylafax/etc \
|
2011-05-24 12:24:35 -04:00
|
|
|
INETDCONF=/etc/inetd.conf MKFIFO=/sbin/mkfifo \
|
2008-02-08 18:10:45 -05:00
|
|
|
SCRIPT_SH=/bin/ksh
|
2001-11-18 12:06:51 -05:00
|
|
|
|
2011-10-17 09:03:42 -04:00
|
|
|
.if ${FLAVOR:Ma4}
|
2001-11-18 12:06:51 -05:00
|
|
|
CONFIGURE_ARGS+= --with-PAGESIZE=A4
|
1998-09-03 20:35:54 -04:00
|
|
|
.endif
|
|
|
|
|
2008-01-04 12:48:33 -05:00
|
|
|
FAKE_FLAGS= ROOT=${WRKINST} SPOOL=${PREFIX}/libdata/hylafax
|
2003-01-31 10:53:50 -05:00
|
|
|
|
2005-06-18 14:48:12 -04:00
|
|
|
NO_REGRESS= Yes
|
2008-02-08 18:10:45 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2011-05-24 12:24:35 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/configure
|
2003-08-24 16:48:55 -04:00
|
|
|
|
2001-11-18 12:18:52 -05:00
|
|
|
.include <bsd.port.mk>
|