FreeBSD Bugzilla – Attachment 142627 Details for
Bug 189682
[patch] add support for staging/options to print/cups-pdf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.30 KB, created by
Matthieu Volat
on 2014-05-11 20:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Matthieu Volat
Created:
2014-05-11 20:10:00 UTC
Size:
2.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 353034) >+++ Makefile (working copy) >@@ -21,6 +21,11 @@ > > USE_GHOSTSCRIPT_RUN= yes > >+OPTIONS_DEFINE= DOCS >+OPTIONS_DEFAULT= DOCS >+ >+.include <bsd.port.options.mk> >+ > SUBST_CMD= -e "s,\#GhostScript /usr/bin/gs,GhostScript ${LOCALBASE}/bin/gs," \ > -e 's,\#GSTmp /var/tmp,GSTmp /tmp,' \ > -e 's,\#Grp lp,Grp daemon,' \ >@@ -49,7 +54,6 @@ > SUBST_CMD+= -e "s,\#Log /var/log/cups,Log ${LOG_DIRECTORY}," > .endif > >-NO_STAGE= yes > pre-everything:: > .if !defined(PDF_VERSION) || !defined(HOME_SUBDIR) || \ > !defined(OUTPUT_DIRECTORY) || !defined(LOG_DIRECTORY) >@@ -82,23 +86,23 @@ > 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 >+ ${MKDIR} ${STAGEDIR}${LOCALBASE}/libexec/cups/backend >+ ${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${STAGEDIR}${LOCALBASE}/libexec/cups/backend >+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model > ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF.ppd \ >- ${PREFIX}/share/cups/model/CUPS-PDF.ppd >- ${MKDIR} ${PREFIX}/etc/cups >+ ${STAGEDIR}${LOCALBASE}/share/cups/model/CUPS-PDF.ppd >+ ${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/cups > ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ >- ${PREFIX}/etc/cups/cups-pdf.conf.sample >-.if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ >+ ${STAGEDIR}${LOCALBASE}/etc/cups/cups-pdf.conf.sample >+.if ${PORT_OPTIONS:MDOCS} >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ > .endif > > post-install: > @if [ ! -f ${PREFIX}/etc/cups/cups-pdf.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/cups/cups-pdf.conf.sample \ >- ${PREFIX}/etc/cups/cups-pdf.conf ; \ >- fi >+ ${CP} -p ${PREFIX}/etc/cups/cups-pdf.conf.sample \ >+ ${PREFIX}/etc/cups/cups-pdf.conf ; \ >+ fi > > .include <bsd.port.mk> >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 353034) >+++ pkg-descr (working copy) >@@ -5,4 +5,4 @@ > be placed in the specified directory. > > Author: Dr. Volker Christian Behr <behr@physik.uni-wuerzburg.de> >-WWW: http://www.cups-pdf.de >+WWW: http://www.cups-pdf.de
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189682
: 142627