Bug 54070

Summary: [Update & Change-request] comms/hylafax 4.1.5 -> 4.1.6
Product: Ports & Packages Reporter: Paul Everlund <tdv94ped>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Makefile
none
pkg-plist
none
file.diff none

Description Paul Everlund 2003-07-03 19:40:15 UTC
	Update:         comms/hylafax 4.1.5 -> 4.1.6.
	Change-request: Taking over maintainer from ports@FreeBSD.org.

	Question to anyone who may know the Hylafax-port...
		Why did distinfo contain various references to patches, none of them 
		to be used? Is it safe to remove them?

Fix: --- ../hylafax/distinfo	Sun Oct 27 20:01:09 2002
+++ distinfo	Thu Jun 26 16:28:16 2003
@@ -1,4 +1 @@
-MD5 (hylafax/hylafax-4.1.5.tar.gz) = 67135ae721f7a927e0f9a96644694617
-MD5 (hylafax/tiff-3.5-interfaces.patch) = c1d2847c9967a10961bb7fe123ecd8e6
-MD5 (hylafax/cvtDateTime.patch) = 57b2d1218e83504c85cf31c1e3746e4e
-MD5 (hylafax/rings-cid-passing.patch) = ade1d9adc9dd236e45176b7a0e3b5d78
+MD5 (hylafax/hylafax-4.1.6.tar.gz) = b58d453c202ed521f5e4dbe6cfb430b2
--- distinfo ends here ---
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-07-04 13:32:46 UTC
State Changed
From-To: open->feedback

Looks good for me. 
Any chance to use ${DOCSDIR} instead of 
${LOCALBASE}/share/doc/hylafax for --with-DIR_HTML key? 

Thanks.
Comment 2 Paul Everlund 2003-07-04 13:53:37 UTC
Thanks for pointing that out: DOCSDIR! Here's an updated Makefile-
diff.

--- ../hylafax/Makefile Mon Mar 10 20:35:22 2003
+++ Makefile    Fri Jul  4 14:49:00 2003
@@ -6,14 +6,15 @@
  #

  PORTNAME=      hylafax
-PORTVERSION=   4.1.5
+PORTVERSION=   4.1.6
  CATEGORIES=    comms
  MASTER_SITES=  ftp://ftp.hylafax.org/source/

-MAINTAINER=    ports@FreeBSD.org
+MAINTAINER=    tdv94ped@cs.umu.se
  COMMENT=       Fax software

  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.4:${PORTSDIR}/graphics/tiff \
@@ -27,16 +28,18 @@
                 --with-TIFFINC="${LOCALBASE}/include" \
                 --with-GCOPTS=" " --with-GCXXOPTS=" " \
                 --with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none \
-               --with-DIR_HTML="${LOCALBASE}/share/doc/hylafax"
+               --with-DIR_HTML="${DOCSDIR}"
+
  # 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

+MAKE_ARGS+=    OPTIMIZER="" -EOPTIMIZER
  HAS_CONFIGURE= yes
  CONFIGURE_ENV= ENVOPTS="${CFLAGS}"

@@ -61,6 +64,9 @@

  post-extract:
         ${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
+
+pre-install:
+PLIST_SUB=     SPOOL="`${GREP} SPOOL ${WRKSRC}/defs | ${CUT} -c10-`"

  post-install:
         ${CHOWN} uucp ${SUID_EXES}
Comment 3 Sergey A. Osokin freebsd_committer freebsd_triage 2003-07-04 14:14:04 UTC
State Changed
From-To: feedback->closed

Committed, thanks!