svn commit: r305816 - head/print/cups-base
Dirk Meyer
dinoex at FreeBSD.org
Sat Oct 13 06:56:26 UTC 2012
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 at geeksrus.net>
-#
+# created by: Alan Eldridge <alane at 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 "
More information about the svn-ports-head
mailing list