From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 27 10:00:43 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA6216B606 for ; Sat, 27 May 2006 10:00:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E749843D58 for ; Sat, 27 May 2006 10:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4RA0Yjx028525 for ; Sat, 27 May 2006 10:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4RA0Yvl028524; Sat, 27 May 2006 10:00:34 GMT (envelope-from gnats) Resent-Date: Sat, 27 May 2006 10:00:34 GMT Resent-Message-Id: <200605271000.k4RA0Yvl028524@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Willem Jaap Zwart Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50D9116B572 for ; Sat, 27 May 2006 09:55:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BF8E43D5D for ; Sat, 27 May 2006 09:55:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4R9tqsA098866 for ; Sat, 27 May 2006 09:55:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4R9tqqQ098865; Sat, 27 May 2006 09:55:52 GMT (envelope-from nobody) Message-Id: <200605270955.k4R9tqqQ098865@www.freebsd.org> Date: Sat, 27 May 2006 09:55:52 GMT From: Willem Jaap Zwart To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/98004: adopting the port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 10:00:54 -0000 >Number: 98004 >Category: ports >Synopsis: adopting the port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 27 10:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Willem Jaap Zwart >Release: several >Organization: Nescio Ludens >Environment: >Description: Following the call "Kris Kennaway" on Thu, May 25, 2006 01:30 I would like to adopt the hylafax package. First thing I will do is update the port to the recently release versie 4.3 Please find in the fix the proposed new makefile >How-To-Repeat: >Fix: # ports collection makefile for: hylafax # Date created: 16 May 1995 # Whom: Julian Stacey # # $FreeBSD: ports/comms/hylafax/Makefile,v 1.79 2006/05/03 23:38:35 edwin Exp $ # PORTNAME= hylafax PORTVERSION= 4.2.5 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 # 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="" \ --with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \ --with-ZLIB=no --with-LIBZ=-lz --with-ZLIBINC=none \ --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" SUB_FILES= pkg-message hylafax.sh.sample # Defaults to "North American Letter". Use "ISO A4" for A4. .if defined(PAGESIZE) CONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}" .endif # Want PAM? .if defined(WITHOUT_PAM) CONFIGURE_ARGS+=--disable-pam .endif # Want HTML documentation? .if defined(WITH_HTMLDOC) CONFIGURE_ARGS+=--with-HTML=yes PLIST_SUB+= PORTDOCS="" .else PLIST_SUB+= PORTDOCS="@comment " .endif .if defined(PACKAGE_BUILDING) || defined(BATCH) CONFIGURE_ARGS+=--nointeractive .endif MAKE_ARGS+= OPTIMIZER="" -EOPTIMIZER HAS_CONFIGURE= yes CONFIGURE_ENV= ENVOPTS="${CFLAGS}" MAN1= edit-faxcover.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 \ hylafax-client.1 sendfax.1 sendpage.1 sgi2fax.1 textfmt.1 MAN5= callid.5f destctrls.5f dialrules.5f doneq.5f hosts.hfaxd.5f \ hylafax-config.5f hylafax-info.5f hylafax-log.5f hylafax-server.5f \ hylafax-shutdown.5f pagermap.5f pagesizes.5f recvq.5f sendq.5f \ status.5f tsi.5f typerules.5f xferfaxlog.5f MAN8= choptest.8c cqtest.8c dialtest.8c faxabort.8c faxaddmodem.8c \ faxadduser.8c faxanswer.8c faxconfig.8c faxcron.8c faxdeluser.8c \ faxgetty.8c faxinfo.8c faxlock.8c faxmodem.8c faxq.8c \ faxqclean.8c faxquit.8c faxrcvd.8c faxsend.8c faxsetup.8c faxstate.8c \ faxwatch.8c hfaxd.8c mkcover.8c notify.8c pagesend.8c pdf2fax.8c \ pollrcvd.8c ps2fax.8c recvstats.8c tagtest.8c tiff2fax.8c \ tiffcheck.8c tsitest.8c wedged.8c xferfaxstats.8c SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \ ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter .include pre-extract: @if [ -d /var/db/pkg/tiff-3.6.1 ]; then \ ${ECHO_MSG} ""; \ ${ECHO_MSG} "Hylafax does not work with libtiff-3.6.1."; \ ${ECHO_MSG} "Please upgrade to libtiff-3.6.1_1. (/usr/ports/graphics/tiff)"; \ ${ECHO_MSG} ""; \ exit 1; \ fi post-patch: ${REINPLACE_CMD} \ -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf-dist,' \ ${WRKSRC}/hfaxd/Makefile.in ${REINPLACE_CMD} -e 's,-O typerules,-O typerules-dist -src typerules,' \ -e 's,-O pagesizes,-O pagesizes-dist -src pagesizes,' \ ${WRKSRC}/util/Makefile.in post-install: ${CHOWN} uucp ${SUID_EXES} ${CHMOD} 4555 ${SUID_EXES} ${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh.sample ${PREFIX}/etc/rc.d .for f in hfaxd.conf pagesizes typerules if [ ! -f ${PREFIX}/lib/fax/${f} ]; then ${CP} -p ${PREFIX}/lib/fax/${f}-dist ${PREFIX}/lib/fax/${f}; fi .endfor @${CAT} ${PKGMESSAGE} .include >Release-Note: >Audit-Trail: >Unformatted: