aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-pdf
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-23 02:14:34 +0800
committerdelphij <delphij@FreeBSD.org>2009-12-23 02:14:34 +0800
commit30bf906f1b1bc426b726547034dee268d54d4c55 (patch)
tree4466a03dec8a3ad58c9d5330abc28f9cac437a68 /print/cups-pdf
parentadd870df41ff91c79f620948f5b0b5b8557df7bb (diff)
downloadfreebsd-ports-gnome-30bf906f1b1bc426b726547034dee268d54d4c55.tar.gz
freebsd-ports-gnome-30bf906f1b1bc426b726547034dee268d54d4c55.tar.zst
freebsd-ports-gnome-30bf906f1b1bc426b726547034dee268d54d4c55.zip
Fix broken installation.
Submitted by: maintainer PR: ports/141900
Diffstat (limited to 'print/cups-pdf')
-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