Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2012 06:56:26 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305816 - head/print/cups-base
Message-ID:  <201210130656.q9D6uQqd058774@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sat Oct 13 06:56:25 2012
New Revision: 305816
URL: http://svn.freebsd.org/changeset/ports/305816

Log:
  - fix option XPDF
  PR:		172579
  Submitted by:	Kris Moore
  Feature safe: yes
  
  - cleanup comments

Modified:
  head/print/cups-base/Makefile

Modified: head/print/cups-base/Makefile
==============================================================================
--- head/print/cups-base/Makefile	Sat Oct 13 06:38:03 2012	(r305815)
+++ head/print/cups-base/Makefile	Sat Oct 13 06:56:25 2012	(r305816)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	cups
-# Date created:		2003-01-22
-# Whom:			Alan Eldridge <alane@geeksrus.net>
-#
+# created by: Alan Eldridge <alane@geeksrus.net>
 # $FreeBSD$
-#
 
 PORTNAME=	cups
 PORTVERSION=	1.5.2
@@ -45,6 +41,7 @@ CUPS_ETCDIR=	${PREFIX}/etc/cups
 CUPS_CACHEDIR?=	/var/db/cups
 CUPS_SPOOLDIR=	/var/spool/cups
 CUPS_SOCKET?=	/var/run/cups.sock
+CUPS_PDFTOPS?=	${LOCALBASE}/libexec/xpdf/pdftops
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
 # file, dir ownership
@@ -155,9 +152,9 @@ USE_GHOSTSCRIPT=	yes
 CONFIGURE_ARGS+=	--enable-pdftops --with-pdftops=${LOCALBASE}/bin/gs
 PLIST_SUB+=		WITH_PDFTOPS=""
 .elif !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MXPDF}
-BUILD_DEPENDS+=		pdftops:${PORTSDIR}/graphics/xpdf
-RUN_DEPENDS+=		pdftops:${PORTSDIR}/graphics/xpdf
-CONFIGURE_ARGS+=	--enable-pdftops --with-pdftops=${LOCALBASE}/libexec/xpdf/pdftops
+BUILD_DEPENDS+=		${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf
+RUN_DEPENDS+=		${CUPS_PDFTOPS}:${PORTSDIR}/graphics/xpdf
+CONFIGURE_ARGS+=	--enable-pdftops --with-pdftops=${CUPS_PDFTOPS}
 PLIST_SUB+=		WITH_PDFTOPS=""
 .else
 PLIST_SUB+=		WITH_PDFTOPS="@comment "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210130656.q9D6uQqd058774>