aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-10-13 06:56:25 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-10-13 06:56:25 +0000
commit252356abcb5d869f5804bf3767fe7b5c50f46b9f (patch)
tree78f9e604f24dc9036443d57f83d4f3f07feb4ba6 /print
parentd0e3822026a0b7203e3a2cab920dc2896b07e414 (diff)
downloadports-252356abcb5d869f5804bf3767fe7b5c50f46b9f.tar.gz
ports-252356abcb5d869f5804bf3767fe7b5c50f46b9f.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 9915806aa2d5..ced65b6881c6 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -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 "