1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix broken installation.

Submitted by:	maintainer
PR:		ports/141900
This commit is contained in:
Xin LI 2009-12-22 18:14:34 +00:00
parent 6da3f689bb
commit 48b24efa2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246464
2 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -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