From owner-svn-ports-head@freebsd.org Fri Sep 2 13:26:16 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B826BCC55F; Fri, 2 Sep 2016 13:26:16 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40FF277F; Fri, 2 Sep 2016 13:26:16 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u82DQFA4029995; Fri, 2 Sep 2016 13:26:15 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u82DQF4X029994; Fri, 2 Sep 2016 13:26:15 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201609021326.u82DQF4X029994@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Fri, 2 Sep 2016 13:26:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421265 - head/print/apsfilter X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 13:26:16 -0000 Author: cy Date: Fri Sep 2 13:26:15 2016 New Revision: 421265 URL: https://svnweb.freebsd.org/changeset/ports/421265 Log: Implement hpijs/hplip dependency option. Approved by: hrs@ Differential Revision: D2628 Modified: head/print/apsfilter/Makefile Modified: head/print/apsfilter/Makefile ============================================================================== --- head/print/apsfilter/Makefile Fri Sep 2 13:09:06 2016 (r421264) +++ head/print/apsfilter/Makefile Fri Sep 2 13:26:15 2016 (r421265) @@ -3,7 +3,7 @@ PORTNAME= apsfilter PORTVERSION= 7.2.8 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ DIST_SUBDIR= apsfilter @@ -16,8 +16,7 @@ LICENSE_NAME= Postcard License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -RUN_DEPENDS= bash:shells/bash \ - hpijs:print/hpijs +RUN_DEPENDS= bash:shells/bash USES= tar:bzip2 USE_SUBMAKE= yes @@ -28,9 +27,10 @@ SUB_FILES= pkg-message OPTIONS_DEFINE=DOCS X11 GS PSUTILS ASCII CONVERT DVIPS FIG2DEV HTML2PS \ ATALK SAMBA COMPRESS MP3 OGG WAV -OPTIONS_DEFAULT=X11 GS PSUTILS ASCII CONVERT A4 -OPTIONS_SINGLE=PAPERSIZE +OPTIONS_DEFAULT=X11 GS PSUTILS ASCII CONVERT A4 HPLIP +OPTIONS_SINGLE=PAPERSIZE HP_SUPPORT OPTIONS_SINGLE_PAPERSIZE=A4 LETTER LETTERDJ +OPTIONS_SINGLE_HP_SUPPORT=HPIJS HPLIP NO_OPTIONS_SORT=yes PAPERSIZE_DESC= papersize A4_DESC= A4 papersize @@ -46,6 +46,9 @@ HTML2PS_DESC= HTML documents ATALK_DESC= remote printing on AppleTalk remote printer SAMBA_DESC= remote printing on Windows remote printer COMPRESS_DESC= print compressed documents +HP_SUPPORT_DESC= HP Print Support +HPIJS_DESC= Depend on hpijs port +HPLIP_DESC= Depend on hplip port DOCS_MAKE_ARGS= -DDOCS PORTDOCS= ANNOUNCE FAQ HOWTO-BUGREPORTS apsfilter4.png \ @@ -76,6 +79,11 @@ PSUFX= -letter .elif !empty(PORT_OPTIONS:MLETTERDJ) PSUFX= -letterdj .endif +.if !empty(PORT_OPTIONS:MHPIJS) +RUN_DEPENDS+= hpijs:${PORTSDIR}/print/hpijs +.elif !empty(PORT_OPTIONS:MHPLIP) +RUN_DEPENDS+= hpijs:${PORTSDIR}/print/hplip +.endif _DEPENDS_ASCII= a2ps:print/a2ps \ enscript:print/enscript${PSUFX} \