aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-02-22 05:48:47 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-02-22 05:48:47 +0000
commit57119a2a7e96a01a1c6d47d3b3e4120e65760fb7 (patch)
tree19e9c6890495a81b9daf22ad1989660f83c9f1cd /comms/hylafax/Makefile
parente981b6db40bc7d36b8dc273c1494296cd4464cb0 (diff)
Notes
Diffstat (limited to 'comms/hylafax/Makefile')
-rw-r--r--comms/hylafax/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index dbb06dab5610..c5b4d70d2444 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -6,23 +6,20 @@
#
PORTNAME= hylafax
-PORTVERSION= 4.3.0
+PORTVERSION= 4.3.2
CATEGORIES= comms
MASTER_SITES= ftp://ftp.hylafax.org/source/
MAINTAINER= W.J.Zwart@NescioLudens.nl
COMMENT= Fax software
-BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm \
- gawk:${PORTSDIR}/lang/gawk
+BUILD_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
# no dependency on ghostscript because we don't know which
# version the user prefers
LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg
-RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
-
DIST_SUBDIR= hylafax
CONFIGURE_ARGS= --with-INSTALL="" \
@@ -31,8 +28,7 @@ CONFIGURE_ARGS= --with-INSTALL="" \
--with-TIFFINC="${LOCALBASE}/include" \
--with-GCOPTS=" " --with-GCXXOPTS=" " \
--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none \
- --with-DIR_HTML="${DOCSDIR}" \
- --with-AWK="${LOCALBASE}/bin/gawk"
+ --with-DIR_HTML="${DOCSDIR}"
SUB_FILES= pkg-message hylafax.sh.sample
@@ -47,7 +43,7 @@ CONFIGURE_ARGS+=--disable-pam
.endif
# Want HTML documentation?
-.if defined(WITH_HTMLDOC)
+.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+=--with-HTML=yes
PLIST_SUB+= PORTDOCS=""
.else
@@ -58,6 +54,12 @@ PLIST_SUB+= PORTDOCS="@comment "
CONFIGURE_ARGS+=--nointeractive
.endif
+.if defined(WITH_GAWK)
+BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
+RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
+CONFIGURE_ARGS+=--with-AWK="${LOCALBASE}/bin/gawk"
+.endif
+
MAKE_ARGS+= OPTIMIZER="" -EOPTIMIZER
HAS_CONFIGURE= yes
CONFIGURE_ENV= ENVOPTS="${CFLAGS}"