aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-12-22 18:14:34 +0000
committerXin LI <delphij@FreeBSD.org>2009-12-22 18:14:34 +0000
commit48b24efa2a44ed70062d40c37208634d63b9dd6f (patch)
tree979e4751df01e7a4012ff14b61b9f991421e602f /print
parent6da3f689bbd21dd4a11bea366c927a1d82c78c85 (diff)
downloadports-48b24efa2a44ed70062d40c37208634d63b9dd6f.tar.gz
ports-48b24efa2a44ed70062d40c37208634d63b9dd6f.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-pdf/Makefile5
-rw-r--r--print/cups-pdf/pkg-plist5
2 files changed, 8 insertions, 2 deletions
diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile
index 2c22224888af..d851c3c7a736 100644
--- a/print/cups-pdf/Makefile
+++ b/print/cups-pdf/Makefile
@@ -17,8 +17,6 @@ COMMENT= A virtual printer for CUPS to produce PDF files
RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
-BROKEN= does not install
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GHOSTSCRIPT_RUN= yes
@@ -83,9 +81,12 @@ do-build:
cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c
do-install:
+ ${MKDIR} ${PREFIX}/libexec/cups/backend
${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${PREFIX}/libexec/cups/backend
+ ${MKDIR} ${PREFIX}/share/cups/model
${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF.ppd \
${PREFIX}/share/cups/model/CUPS-PDF.ppd
+ ${MKDIR} ${PREFIX}/etc/cups
${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \
${PREFIX}/etc/cups/cups-pdf.conf.sample
.if !defined(NOPORTDOCS)
diff --git a/print/cups-pdf/pkg-plist b/print/cups-pdf/pkg-plist
index 43ea5f4fb233..947e1c1badd2 100644
--- a/print/cups-pdf/pkg-plist
+++ b/print/cups-pdf/pkg-plist
@@ -5,3 +5,8 @@ etc/cups/cups-pdf.conf.sample
@exec if [ ! -f %D/etc/cups/cups-pdf.conf ] ; then cp -p %D/%F %B/cups-pdf.conf; fi
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry libexec/cups/backend
+@dirrmtry libexec/cups
+@dirrmtry share/cups/model
+@dirrmtry share/cups
+@dirrmtry etc/cups